Regarding layout parameters from parent and grandparent entities. Removed Evil Angel and Fantasy Massage scraper wrappers.
This commit is contained in:
@@ -209,7 +209,7 @@ async function scrapeChannel(channelEntity, accNetworkReleases) {
|
||||
|| scrapers.releases[channelEntity.parent?.slug]
|
||||
|| scrapers.releases[channelEntity.parent?.parent?.slug];
|
||||
|
||||
const layoutScraper = scraper?.[channelEntity.parameters?.layout] || scraper;
|
||||
const layoutScraper = scraper?.[channelEntity.parameters?.layout] || scraper?.[channelEntity.parent?.parameters?.layout] || scraper?.[channelEntity.parent?.parent?.parameters?.layout] || scraper;
|
||||
|
||||
if (!layoutScraper) {
|
||||
logger.warn(`No scraper found for '${channelEntity.name}' (${channelEntity.parent?.name})`);
|
||||
|
||||
Reference in New Issue
Block a user