Added First Anal Quest and Double View Casting latest and scene scraper.

This commit is contained in:
DebaucheryLibrarian
2020-12-02 03:17:32 +01:00
parent bfbfa761ef
commit 2656e3adb0
33 changed files with 166 additions and 8 deletions

View File

@@ -209,7 +209,9 @@ async function scrapeChannel(channelEntity, accNetworkReleases) {
|| scrapers.releases[channelEntity.parent?.slug]
|| scrapers.releases[channelEntity.parent?.parent?.slug];
if (!scraper) {
const layoutScraper = scraper?.[channelEntity.parameters?.layout] || scraper;
if (!layoutScraper) {
logger.warn(`No scraper found for '${channelEntity.name}' (${channelEntity.parent?.name})`);
return emptyReleases;
}
@@ -217,7 +219,7 @@ async function scrapeChannel(channelEntity, accNetworkReleases) {
try {
const beforeFetchLatest = await scraper.beforeFetchLatest?.(channelEntity);
return await scrapeChannelReleases(scraper, channelEntity, {
return await scrapeChannelReleases(layoutScraper, channelEntity, {
...accNetworkReleases,
beforeFetchLatest,
});