forked from DebaucheryLibrarian/traxxx
Improved Hush T1 profile scraper.
This commit is contained in:
parent
37f01b68e8
commit
997914ec27
|
@ -208,13 +208,7 @@ function scrapeProfileT1({ el, query }, site) {
|
|||
};
|
||||
}, {});
|
||||
|
||||
if (bio.measurements) {
|
||||
const [bust, waist, hip] = bio.measurements.split('-');
|
||||
|
||||
if (bust) profile.bust = bust;
|
||||
if (waist) profile.waist = Number(waist);
|
||||
if (hip) profile.hip = Number(hip);
|
||||
}
|
||||
profile.measurements = bio.measurements;
|
||||
|
||||
if (bio.fun_fact) profile.description = bio.fun_fact;
|
||||
if (bio.age) profile.age = Number(bio.age);
|
||||
|
|
Loading…
Reference in New Issue