Added actor page deep scrape for the few Sperm Mania scenes not on the homepage.

This commit is contained in:
DebaucheryLibrarian
2024-10-17 23:50:55 +02:00
parent 0ac8ae4d5a
commit 1163b010fb
2 changed files with 28 additions and 12 deletions

View File

@@ -185,7 +185,7 @@ async function scrapeRelease(baseRelease, entitiesByHostname, type = 'scene') {
if (!scrapedRelease || typeof scrapedRelease !== 'object' || Array.isArray(scrapedRelease)) {
// scraper is unable to fetch the releases and returned a HTTP code or null
throw new Error(`Scraper returned '${scrapedRelease}' when fetching latest from '${entity.name}' (${entity.parent?.name})`);
throw new Error(`Scraper returned '${scrapedRelease}' when deep fetching (${entity.name}, ${entity.parent?.name}) ${baseRelease.url || baseRelease.path}`);
}
// object-merge-advance will use null as explicit false on hard merged keys, even when null as explicit falls is disabled