Fixed Pascals Sub Sluts interpreting metric as imperial height, filtering unlikely in interpolation. Splitting double actor entries in Top Web Models.
This commit is contained in:
parent
7e78a39717
commit
b9e4764516
|
@ -504,7 +504,6 @@ async function interpolateProfiles(actorIdsOrNames) {
|
||||||
'penis_girth',
|
'penis_girth',
|
||||||
'circumcised',
|
'circumcised',
|
||||||
'natural_boobs',
|
'natural_boobs',
|
||||||
'height',
|
|
||||||
'hair_color',
|
'hair_color',
|
||||||
'eyes',
|
'eyes',
|
||||||
'has_tattoos',
|
'has_tattoos',
|
||||||
|
@ -519,6 +518,8 @@ async function interpolateProfiles(actorIdsOrNames) {
|
||||||
...mostFrequentValues,
|
...mostFrequentValues,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
profile.height = getMostFrequent(valuesByProperty.height.filter(height => height > 50 && height < 300)); // remove unlikely values
|
||||||
|
|
||||||
profile.date_of_birth = getMostFrequentDate(valuesByProperty.date_of_birth);
|
profile.date_of_birth = getMostFrequentDate(valuesByProperty.date_of_birth);
|
||||||
profile.date_of_death = getMostFrequentDate(valuesByProperty.date_of_death);
|
profile.date_of_death = getMostFrequentDate(valuesByProperty.date_of_death);
|
||||||
profile.age = getHighest(valuesByProperty.age);
|
profile.age = getHighest(valuesByProperty.age);
|
||||||
|
|
|
@ -63,7 +63,7 @@ function scrapeProfile({ query }) {
|
||||||
|
|
||||||
profile.gender = 'female';
|
profile.gender = 'female';
|
||||||
profile.nationality = bio.nationality;
|
profile.nationality = bio.nationality;
|
||||||
profile.height = feetInchesToCm(bio.height);
|
profile.height = /cm/.test(bio.height) ? parseInt(bio.height, 10) : feetInchesToCm(bio.height);
|
||||||
profile.age = bio.age;
|
profile.age = bio.age;
|
||||||
profile.hairColor = bio.hair;
|
profile.hairColor = bio.hair;
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,16 @@ function scrapeSceneX(scene) {
|
||||||
release.duration = qu.durationToSeconds(scene.videos_duration);
|
release.duration = qu.durationToSeconds(scene.videos_duration);
|
||||||
release.date = new Date(scene.release_date);
|
release.date = new Date(scene.release_date);
|
||||||
|
|
||||||
release.actors = scene.models.map(actor => ({
|
release.actors = scene.models
|
||||||
|
.map(actor => (/&/.test(actor.name)
|
||||||
|
? actor.name.split(/\s*&\s*/)
|
||||||
|
: {
|
||||||
name: actor.name,
|
name: actor.name,
|
||||||
gender: actor.gender || null,
|
gender: actor.gender || null,
|
||||||
avatar: actor.thumb,
|
avatar: actor.thumb,
|
||||||
url: `https://tour.topwebmodels.com/models/${actor.id}/${slugify(actor.name)}`,
|
url: `https://tour.topwebmodels.com/models/${actor.id}/${slugify(actor.name)}`,
|
||||||
}));
|
}))
|
||||||
|
.flat();
|
||||||
|
|
||||||
release.stars = scene.rating;
|
release.stars = scene.rating;
|
||||||
release.tags = scene.tags.map(tag => tag.name);
|
release.tags = scene.tags.map(tag => tag.name);
|
||||||
|
|
Loading…
Reference in New Issue