Added dedicated Arch Angel scraper.

This commit is contained in:
DebaucheryLibrarian
2023-07-02 05:07:38 +02:00
parent e22dbb315e
commit 4a3674feac
14 changed files with 291 additions and 78 deletions

View File

@@ -242,7 +242,7 @@ async function fetchLatest(entity, page, options) {
// select from configured random image source
release.poster = `${options.source}?id=${nanoid()}`; // ensure source is unique
release.photos = Array.from({ length: Math.floor(Math.random() * 10) + 1 }, () => `${options.source}?id=${nanoid()}`); // ensure source is unique
} else {
} else if (options.includeMedia) {
// select from local SFW database
const [poster, ...photos] = await knex('media')
.select('path')