Compare commits
2 Commits
9c00216e62
...
769e7bb37e
Author | SHA1 | Date |
---|---|---|
|
769e7bb37e | |
|
81ede3f511 |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.65.0",
|
"version": "1.65.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.65.0",
|
"version": "1.65.1",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -138,11 +138,13 @@ function scrapeProfile(data, html) {
|
||||||
if (data.height) profile.height = inchesToCm(data.height);
|
if (data.height) profile.height = inchesToCm(data.height);
|
||||||
if (data.weight) profile.weight = lbsToKg(data.weight);
|
if (data.weight) profile.weight = lbsToKg(data.weight);
|
||||||
|
|
||||||
profile.avatar = data.images.card_main_rect?.[0].xl?.url
|
if (data.images.card_main_rect && data.images.card_main_rect[0]) {
|
||||||
|| data.images.card_main_rect?.[0].lg?.url
|
profile.avatar = data.images.card_main_rect[0].xl?.url
|
||||||
|| data.images.card_main_rect?.[0].md?.url
|
|| data.images.card_main_rect[0].lg?.url
|
||||||
|| data.images.card_main_rect?.[0].sm?.url
|
|| data.images.card_main_rect[0].md?.url
|
||||||
|| data.images.card_main_rect?.[0].xs?.url;
|
|| data.images.card_main_rect[0].sm?.url
|
||||||
|
|| data.images.card_main_rect[0].xs?.url;
|
||||||
|
}
|
||||||
|
|
||||||
const birthdate = qa('li').find(el => /Date of Birth/.test(el.textContent));
|
const birthdate = qa('li').find(el => /Date of Birth/.test(el.textContent));
|
||||||
if (birthdate) profile.birthdate = qd(birthdate, 'span', 'MMMM Do, YYYY');
|
if (birthdate) profile.birthdate = qd(birthdate, 'span', 'MMMM Do, YYYY');
|
||||||
|
|
Loading…
Reference in New Issue