Refactored FreeOnes scraper.

This commit is contained in:
DebaucheryLibrarian
2026-02-06 06:44:03 +01:00
parent e8d6345400
commit acb114012c
3 changed files with 93 additions and 70 deletions

View File

@@ -128,7 +128,7 @@ async function scrapeProfile({ query }) {
profile.measurements = bio.measurements?.replace(/["\s]+/g, '');
profile.hair = bio.hair;
profile.eyes = bio.eyes;
profile.eyes = bio.eyes?.replace(/eyes?/i, '').trim();
profile.ethnicity = bio.ethnicity;
profile.height = convert(bio.height, 'cm');
@@ -145,8 +145,6 @@ async function scrapeProfile({ query }) {
];
}
console.log(profile);
return profile;
}