Scraping actor scenes from Hussie Pass. Adding entity to actor base releases.

This commit is contained in:
DebaucheryLibrarian
2020-11-15 23:50:04 +01:00
parent b952b758d7
commit d14ef90136
5 changed files with 75 additions and 54 deletions

View File

@@ -396,7 +396,7 @@ async function curateProfile(profile) {
}).filter(Boolean)
: [];
curatedProfile.releases = toBaseReleases(profile.releases);
curatedProfile.releases = toBaseReleases(profile.releases, profile.entity);
if (profile.ethnicity && !curatedProfile.ethnicity) logger.warn(`Unrecognized ethnicity returned by '${profile.entity.name}' scraper: ${profile.ethnicity}`);
if ((profile.hairColor || profile.hair) && !curatedProfile.hairColor) logger.warn(`Unrecognized hair color returned by '${profile.entity.name}' scraper: ${profile.hairColor || profile.hair}`);