Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 856601d1d9 1.246.9 2026-01-22 02:14:48 +01:00
DebaucheryLibrarian fa1ca2b5f3 Linking Real Girls Now channel to RealGirlsNow.com, but updating from NA. 2026-01-22 02:14:46 +01:00
4 changed files with 12 additions and 8 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.246.8", "version": "1.246.9",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.246.8", "version": "1.246.9",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.458.0", "@aws-sdk/client-s3": "^3.458.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.246.8", "version": "1.246.9",
"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": {

View File

@ -8358,9 +8358,12 @@ const sites = [
{ {
slug: 'realgirlsnow', slug: 'realgirlsnow',
name: 'Real Girls Now', name: 'Real Girls Now',
url: 'https://www.naughtyamerica.com/site/real-girls-now', url: 'https://www.realgirlsnow.com',
parent: 'naughtyamerica', parent: 'naughtyamerica',
independent: true, independent: true,
parameters: {
latest: 'https://www.naughtyamerica.com/site/real-girls-now',
},
}, },
{ {
slug: 'myfriendshotmom', slug: 'myfriendshotmom',

View File

@ -47,9 +47,10 @@ function scrapeLatest(scenes, channel) {
}); });
} }
async function fetchLatest(channel, page = 1) { async function fetchLatest(channel, page = 1, { parameters }) {
const url = `${channel.url}${channel.parameters?.scenes || ''}?page=${page}`; const url = parameters.latest || `${channel.url}${parameters?.scenes || ''}`;
const res = await unprint.browserRequest(url, {
const res = await unprint.browserRequest(`${url}?page=${page}`, {
selectAll: '.site-list .scene-item, .panel-body', selectAll: '.site-list .scene-item, .panel-body',
async control(ctx) { async control(ctx) {
await ctx.locator('.site-list, .grid-three').hover({ trial: true, timeout: 10000 }); // wait for overview to initialize await ctx.locator('.site-list, .grid-three').hover({ trial: true, timeout: 10000 }); // wait for overview to initialize
@ -57,7 +58,7 @@ async function fetchLatest(channel, page = 1) {
}); });
if (res.ok) { if (res.ok) {
const scenes = scrapeLatest(res.context, channel); const scenes = scrapeLatest(res.context, channel, parameters);
return scenes; return scenes;
} }