Added Snow Valley (Sperm Mania) scraper.

This commit is contained in:
DebaucheryLibrarian
2024-10-16 02:39:11 +02:00
parent 91e31e8ce7
commit 1950dd2e62
16 changed files with 1234 additions and 79 deletions

View File

@@ -267,6 +267,9 @@ function curateActor(actor, withDetails = false, isProfile = false) {
bust: actor.bust,
waist: actor.waist,
hip: actor.hip,
foot: actor.foot,
leg: actor.leg,
thigh: actor.thigh,
naturalBoobs: actor.natural_boobs,
penisLength: actor.penis_length,
penisGirth: actor.penis_girth,
@@ -359,6 +362,9 @@ function curateProfileEntry(profile) {
cup: profile.cup,
bust: profile.bust,
waist: profile.waist,
leg: profile.leg,
thigh: profile.thigh,
foot: profile.foot,
hip: profile.hip,
penis_length: profile.penisLength,
penis_girth: profile.penisGirth,
@@ -442,8 +448,13 @@ async function curateProfile(profile, actor) {
curatedProfile.waist = Number(profile.waist) || profile.waist?.match?.(/\d+/)?.[0] || null;
curatedProfile.hip = Number(profile.hip) || profile.hip?.match?.(/\d+/)?.[0] || null;
curatedProfile.leg = Number(profile.leg) || profile.leg?.match?.(/\d+/)?.[0] || null;
curatedProfile.thigh = Number(profile.thigh) || profile.thigh?.match?.(/\d+/)?.[0] || null;
curatedProfile.foot = Number(profile.foot) || profile.foot?.match?.(/\d+/)?.[0] || null;
// combined measurement value
const measurements = profile.measurements?.match(/(\d+)(\w+)(?:\s*[-x]\s*(\d+)\s*[-x]\s*(\d+))?/); // ExCoGi uses x, Jules Jordan has spaces between the dashes
// ExCoGi uses x, Jules Jordan has spaces between the dashes, SpermMenia/Cum Buffet sometimes misses cup
const measurements = profile.measurements?.match(/(\d+)([a-z]+)?(?:\s*[-x]\s*(\d+)\s*[-x]\s*(\d+))?/i);
if (measurements) {
curatedProfile.bust = Number(measurements[1]) || null;
@@ -589,6 +600,9 @@ async function interpolateProfiles(actorIdsOrNames) {
'bust',
'waist',
'hip',
'leg',
'thigh',
'foot',
'shoe_size',
'penis_length',
'penis_girth',