Improved Hush T1 profile scraper.

This commit is contained in:
DebaucheryLibrarian 2023-07-23 01:05:25 +02:00
parent 37f01b68e8
commit 997914ec27
1 changed files with 1 additions and 7 deletions

View File

@ -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);