Compare commits
No commits in common. "4a2d2ad9962a6a8a35c8b753b6679403148cf3b5" and "e643e0a924ec46638d03fa957332239718ec258e" have entirely different histories.
4a2d2ad996
...
e643e0a924
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.192.1",
|
"version": "1.192.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "1.192.1",
|
"version": "1.192.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.192.1",
|
"version": "1.192.0",
|
||||||
"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": {
|
||||||
|
|
|
@ -5263,15 +5263,6 @@ const sites = [
|
||||||
id: 'mylfwood',
|
id: 'mylfwood',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
slug: 'mylfselects',
|
|
||||||
name: 'MYLF Selects',
|
|
||||||
url: 'https://www.mylf.com/series/selects',
|
|
||||||
parent: 'mylf',
|
|
||||||
parameters: {
|
|
||||||
id: 'selects',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
slug: 'stayhomemilf',
|
slug: 'stayhomemilf',
|
||||||
name: 'StayHomeMilf',
|
name: 'StayHomeMilf',
|
||||||
|
|
|
@ -15,7 +15,7 @@ function getChannelSlug(channelName, entity) {
|
||||||
const channelSlug = slugify(channelName, '', { removePunctuation: true });
|
const channelSlug = slugify(channelName, '', { removePunctuation: true });
|
||||||
const channel = entity.children.find(child => new RegExp(channelSlug).test(child.slug));
|
const channel = entity.children.find(child => new RegExp(channelSlug).test(child.slug));
|
||||||
|
|
||||||
return channel?.slug || null;
|
return channel.slug;
|
||||||
}
|
}
|
||||||
|
|
||||||
function scrapeScene(scene, channel) {
|
function scrapeScene(scene, channel) {
|
||||||
|
@ -70,9 +70,10 @@ function scrapeProfile(actor, entity) {
|
||||||
}, {});
|
}, {});
|
||||||
|
|
||||||
// birthdate seems never/rarely correct
|
// birthdate seems never/rarely correct
|
||||||
|
const measurements = bio.measurements?.match(/Measurements: (\d+)(\w+)-(\d+)-(\d+)/i);
|
||||||
|
|
||||||
if (bio.measurements) {
|
if (measurements) {
|
||||||
profile.measurements = bio.measurements;
|
[profile.bust, profile.cup, profile.waist, profile.hip] = measurements.slice(1);
|
||||||
} else {
|
} else {
|
||||||
const breastSize = actor.bio.breastSize?.match(/(\d+)(\w+)/)?.slice(1) || actor.bio.about.match(/Measurements: (\d+)(\w+)/)?.slice(1);
|
const breastSize = actor.bio.breastSize?.match(/(\d+)(\w+)/)?.slice(1) || actor.bio.about.match(/Measurements: (\d+)(\w+)/)?.slice(1);
|
||||||
|
|
||||||
|
@ -143,8 +144,8 @@ async function fetchProfile(baseActor, { entity, parameters }) {
|
||||||
const url = format(parameters.profiles, { slug: baseActor.slug });
|
const url = format(parameters.profiles, { slug: baseActor.slug });
|
||||||
const res = await qu.get(url);
|
const res = await qu.get(url);
|
||||||
|
|
||||||
if (res.ok && res.body) {
|
if (res.ok) {
|
||||||
return scrapeProfile(res.body._source, entity);
|
return scrapeProfile(res.body, entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
return res.status;
|
return res.status;
|
||||||
|
|
Loading…
Reference in New Issue