forked from DebaucheryLibrarian/traxxx
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:
@@ -63,7 +63,7 @@ function scrapeProfile({ query }) {
|
||||
|
||||
profile.gender = 'female';
|
||||
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.hairColor = bio.hair;
|
||||
|
||||
|
||||
@@ -16,12 +16,16 @@ function scrapeSceneX(scene) {
|
||||
release.duration = qu.durationToSeconds(scene.videos_duration);
|
||||
release.date = new Date(scene.release_date);
|
||||
|
||||
release.actors = scene.models.map(actor => ({
|
||||
name: actor.name,
|
||||
gender: actor.gender || null,
|
||||
avatar: actor.thumb,
|
||||
url: `https://tour.topwebmodels.com/models/${actor.id}/${slugify(actor.name)}`,
|
||||
}));
|
||||
release.actors = scene.models
|
||||
.map(actor => (/&/.test(actor.name)
|
||||
? actor.name.split(/\s*&\s*/)
|
||||
: {
|
||||
name: actor.name,
|
||||
gender: actor.gender || null,
|
||||
avatar: actor.thumb,
|
||||
url: `https://tour.topwebmodels.com/models/${actor.id}/${slugify(actor.name)}`,
|
||||
}))
|
||||
.flat();
|
||||
|
||||
release.stars = scene.rating;
|
||||
release.tags = scene.tags.map(tag => tag.name);
|
||||
|
||||
Reference in New Issue
Block a user