Compare commits
2 Commits
25cac4d0ab
...
5524efb3ba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5524efb3ba | ||
|
|
1397349058 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.249.1",
|
"version": "1.249.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.249.1",
|
"version": "1.249.2",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.458.0",
|
"@aws-sdk/client-s3": "^3.458.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.249.1",
|
"version": "1.249.2",
|
||||||
"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": {
|
||||||
|
|||||||
@@ -117,6 +117,24 @@ function scrapeAllT1(scenes, site, accNetworkReleases) {
|
|||||||
}).filter(Boolean);
|
}).filter(Boolean);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function fetchLatest(site, page = 1, include, { uniqueReleases = [], duplicateReleases = [] }) {
|
||||||
|
const url = (site.parameters?.latest && util.format(site.parameters.latest, page))
|
||||||
|
|| (site.parameters?.t1 && `${site.url}/t1/categories/movies_${page}_d.html`)
|
||||||
|
|| `${site.url}/categories/movies_${page}_d.html`;
|
||||||
|
|
||||||
|
const res = await qu.getAll(url, '.modelfeature, .item-video, .updateItem');
|
||||||
|
|
||||||
|
if (!res.ok) {
|
||||||
|
return res.status;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (site.parameters?.t1) {
|
||||||
|
return scrapeAllT1(res.items, site, [...uniqueReleases, ...duplicateReleases]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return scrapeAll(res.items, site, uniqueReleases);
|
||||||
|
}
|
||||||
|
|
||||||
function scrapeScene({ html, query }, channel, url) {
|
function scrapeScene({ html, query }, channel, url) {
|
||||||
const release = { url }; // url used for entry ID
|
const release = { url }; // url used for entry ID
|
||||||
|
|
||||||
@@ -226,6 +244,20 @@ function scrapeProfileT1({ el, query }, site) {
|
|||||||
return profile;
|
return profile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function fetchScene(url, site, baseRelease) {
|
||||||
|
const res = await qu.get(url);
|
||||||
|
|
||||||
|
if (!res.ok) {
|
||||||
|
return res.status;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (site.parameters?.t1) {
|
||||||
|
return scrapeSceneT1(res.item, site, url, baseRelease);
|
||||||
|
}
|
||||||
|
|
||||||
|
return scrapeScene(res.item, site, url, baseRelease);
|
||||||
|
}
|
||||||
|
|
||||||
async function fetchActorScenes({ query, el }, channel, accScenes = []) {
|
async function fetchActorScenes({ query, el }, channel, accScenes = []) {
|
||||||
const scenes = scrapeAll(qu.initAll(el, '.item-video'), channel);
|
const scenes = scrapeAll(qu.initAll(el, '.item-video'), channel);
|
||||||
const nextPage = query.url('.next a');
|
const nextPage = query.url('.next a');
|
||||||
@@ -296,38 +328,6 @@ async function scrapeProfile({ query, el }, channel, options) {
|
|||||||
return profile;
|
return profile;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchLatest(site, page = 1, include, { uniqueReleases = [], duplicateReleases = [] }) {
|
|
||||||
const url = (site.parameters?.latest && util.format(site.parameters.latest, page))
|
|
||||||
|| (site.parameters?.t1 && `${site.url}/t1/categories/movies_${page}_d.html`)
|
|
||||||
|| `${site.url}/categories/movies_${page}_d.html`;
|
|
||||||
|
|
||||||
const res = await qu.getAll(url, '.modelfeature, .item-video, .updateItem');
|
|
||||||
|
|
||||||
if (!res.ok) {
|
|
||||||
return res.status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (site.parameters?.t1) {
|
|
||||||
return scrapeAllT1(res.items, site, [...uniqueReleases, ...duplicateReleases]);
|
|
||||||
}
|
|
||||||
|
|
||||||
return scrapeAll(res.items, site, uniqueReleases);
|
|
||||||
}
|
|
||||||
|
|
||||||
async function fetchScene(url, site, baseRelease) {
|
|
||||||
const res = await qu.get(url);
|
|
||||||
|
|
||||||
if (!res.ok) {
|
|
||||||
return res.status;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (site.parameters?.t1) {
|
|
||||||
return scrapeSceneT1(res.item, site, url, baseRelease);
|
|
||||||
}
|
|
||||||
|
|
||||||
return scrapeScene(res.item, site, url, baseRelease);
|
|
||||||
}
|
|
||||||
|
|
||||||
async function fetchProfile({ name: actorName }, { channel }, options) {
|
async function fetchProfile({ name: actorName }, { channel }, options) {
|
||||||
const actorSlugA = slugify(actorName, '');
|
const actorSlugA = slugify(actorName, '');
|
||||||
const actorSlugB = slugify(actorName);
|
const actorSlugB = slugify(actorName);
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ const actors = [
|
|||||||
{ entity: 'eyeontheguy', name: 'Tommy Gunn', fields: ['avatar'] },
|
{ entity: 'eyeontheguy', name: 'Tommy Gunn', fields: ['avatar'] },
|
||||||
{ entity: 'interracialpovs', name: 'Nia Nacci', fields: ['avatar', 'aliases', 'dateOfBirth', 'birthPlace', 'ethnicity', 'measurements', 'height', 'weight', 'hasTattoos', 'hasPiercings', 'naturalBoobs', 'socials'] },
|
{ entity: 'interracialpovs', name: 'Nia Nacci', fields: ['avatar', 'aliases', 'dateOfBirth', 'birthPlace', 'ethnicity', 'measurements', 'height', 'weight', 'hasTattoos', 'hasPiercings', 'naturalBoobs', 'socials'] },
|
||||||
{ entity: 'povpornstars', name: 'Anna Bell Peaks', fields: ['avatar', 'aliases', 'description', 'dateOfBirth', 'birthPlace', 'ethnicity', 'measurements', 'height', 'weight', 'hasTattoos', 'hasPiercings', 'naturalBoobs', 'socials'] },
|
{ entity: 'povpornstars', name: 'Anna Bell Peaks', fields: ['avatar', 'aliases', 'description', 'dateOfBirth', 'birthPlace', 'ethnicity', 'measurements', 'height', 'weight', 'hasTattoos', 'hasPiercings', 'naturalBoobs', 'socials'] },
|
||||||
{ entity: 'seehimfuck', name: 'Sheem The Dream', fields: ['avatar', 'description', 'dateOfBirth', 'birthPlace', 'ethnicity', 'height', 'weight', 'hasTattoos', 'hasPiercings', 'penisLength', 'circumcised', 'socials'] },
|
{ entity: 'seehimfuck', name: 'Sheem The Dream', fields: ['avatar', 'description', 'dateOfBirth', 'birthPlace', 'ethnicity', 'height', 'weight', 'hasTattoos', 'hasPiercings', 'penisLength', 'isCircumcised', 'socials'] },
|
||||||
{ entity: 'hushpass', name: 'Dylan Ryder', fields: ['avatar'] },
|
{ entity: 'hushpass', name: 'Dylan Ryder', fields: ['avatar'] },
|
||||||
{ entity: 'interracialpass', name: 'Aidra Fox', fields: ['avatar', 'height', 'measurements'] },
|
{ entity: 'interracialpass', name: 'Aidra Fox', fields: ['avatar', 'height', 'measurements'] },
|
||||||
// kelly madison / 8K
|
// kelly madison / 8K
|
||||||
|
|||||||
Reference in New Issue
Block a user