From 997914ec270bea752450c9010ead63e3293c8fe3 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 23 Jul 2023 01:05:25 +0200 Subject: [PATCH] Improved Hush T1 profile scraper. --- src/scrapers/hush.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/scrapers/hush.js b/src/scrapers/hush.js index 5f359f2d..ef8eb297 100755 --- a/src/scrapers/hush.js +++ b/src/scrapers/hush.js @@ -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);