Added experimental movie page scraping with Elegant Angel.

This commit is contained in:
DebaucheryLibrarian
2020-07-17 04:33:05 +02:00
parent a88c2f0760
commit f59e809713
4 changed files with 31 additions and 19 deletions

View File

@@ -83,6 +83,8 @@ async function scrapeReleases(scraper, entity, preData, upcoming = false) {
? await scraper.fetchUpcoming(entity, page, preData, include)
: await scraper.fetchLatest(entity, page, preData, include);
await scraper.fetchMovies(entity, page);
if (!Array.isArray(latestReleases)) {
// scraper is unable to fetch the releases and returned a HTTP code or null
logger.warn(`Scraper returned ${latestReleases} when fetching latest from '${entity.name}' (${entity.parent?.name})`);