Linking Real Girls Now channel to RealGirlsNow.com, but updating from NA.

This commit is contained in:
DebaucheryLibrarian 2026-01-22 02:14:46 +01:00
parent d65c34800e
commit fa1ca2b5f3
2 changed files with 9 additions and 5 deletions

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;
} }