Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 9c4078a917 1.245.17 2026-01-11 02:56:48 +01:00
DebaucheryLibrarian 81c7925b86 Skipping Radical deep scrape if base release is available. 2026-01-11 02:56:46 +01:00
3 changed files with 9 additions and 4 deletions

4
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.245.16",
"version": "1.245.17",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -146,7 +146,12 @@ async function fetchUpcoming(channel, _page, { parameters }) {
return res.status;
}
async function fetchScene(url, channel, _baseScene, { parameters }) {
async function fetchScene(url, channel, baseScene, { parameters }) {
if (baseScene.entryId) {
// identical data
return baseScene;
}
const slug = new URL(url).pathname.split('/').at(-1);
const endpoint = await fetchEndpoint(channel);
const res = await http.get(`${channel.url}/_next/data/${endpoint}/${parameters.videos || 'videos'}/${slug}.json?slug=${slug}`);