Added Trans Angels to MindGeek. Interpreting MindGeek 'other' gender as transsexual.

This commit is contained in:
2020-01-31 00:25:51 +01:00
parent 54ef0ff807
commit 3f113310e3
6 changed files with 23 additions and 1 deletions

View File

@@ -128,13 +128,14 @@ function scrapeProfile(data, html) {
const { qa, qd } = ex(html);
const profile = {
gender: data.gender,
description: data.bio,
aliases: data.aliases,
};
const [bust, waist, hip] = data.measurements.split('-');
profile.gender = data.gender === 'other' ? 'transsexual' : data.gender;
if (bust) profile.bust = bust.toUpperCase();
if (waist) profile.waist = waist;
if (hip) profile.hip = hip;