Added Filthy Family and 'legacy' scraper to Bang Bros. Added trans generic avatar. Added pagination support to site actions.
This commit is contained in:
@@ -169,7 +169,7 @@ function curateActor(actor, withDetails = false) {
|
||||
height: actor.height,
|
||||
weight: actor.weight,
|
||||
eyes: actor.eyes,
|
||||
hair: actor.hair,
|
||||
hairColor: actor.hair_color,
|
||||
hasTattoos: actor.has_tattoos,
|
||||
hasPiercings: actor.has_piercings,
|
||||
tattoos: actor.tattoos,
|
||||
@@ -245,7 +245,7 @@ function curateProfileEntry(profile) {
|
||||
natural_boobs: profile.naturalBoobs,
|
||||
height: profile.height,
|
||||
weight: profile.weight,
|
||||
hair: profile.hair,
|
||||
hair_color: profile.hairColor,
|
||||
eyes: profile.eyes,
|
||||
has_tattoos: profile.hasTattoos,
|
||||
has_piercings: profile.hasPiercings,
|
||||
@@ -284,7 +284,7 @@ async function curateProfile(profile) {
|
||||
curatedProfile.nationality = profile.nationality?.trim() || null; // used to derive country when country not available
|
||||
|
||||
curatedProfile.ethnicity = ethnicities[profile.ethnicity?.trim().toLowerCase()] || null;
|
||||
curatedProfile.hair = hairColors[profile.hair?.trim().toLowerCase()] || null;
|
||||
curatedProfile.hairColor = hairColors[(profile.hairColor || profile.hair)?.trim().toLowerCase()] || null;
|
||||
curatedProfile.eyes = eyeColors[profile.eyes?.trim().toLowerCase()] || null;
|
||||
|
||||
curatedProfile.tattoos = profile.tattoos?.trim() || null;
|
||||
@@ -352,7 +352,7 @@ async function curateProfile(profile) {
|
||||
curatedProfile.releases = toBaseReleases(profile.releases);
|
||||
|
||||
if (profile.ethnicity && !curatedProfile.ethnicity) logger.warn(`Unrecognized ethnicity returned by '${profile.site?.name || profile.network?.slug}' scraper: ${profile.ethnicity}`);
|
||||
if (profile.hair && !curatedProfile.hair) logger.warn(`Unrecognized hair color returned by '${profile.site?.name || profile.network?.slug}' scraper: ${profile.hair}`);
|
||||
if ((profile.hairColor || profile.hair) && !curatedProfile.hairColor) logger.warn(`Unrecognized hair color returned by '${profile.site?.name || profile.network?.slug}' scraper: ${profile.hairColor || profile.hair}`);
|
||||
if (profile.eyes && !curatedProfile.eyes) logger.warn(`Unrecognized eye color returned by '${profile.site?.name || profile.network?.slug}' scraper: ${profile.eyes}`);
|
||||
|
||||
return curatedProfile;
|
||||
@@ -417,7 +417,7 @@ async function interpolateProfiles(actors) {
|
||||
'hip',
|
||||
'natural_boobs',
|
||||
'height',
|
||||
'hair',
|
||||
'hair_color',
|
||||
'eyes',
|
||||
'has_tattoos',
|
||||
'has_piercings',
|
||||
|
||||
Reference in New Issue
Block a user