Compare commits

..

No commits in common. "9c4078a917b7a66f95f5c23c9e42b0aeb65f3099" and "2c7fb51d659d094178ff1dc91da6e63e962d10e2" have entirely different histories.

3 changed files with 4 additions and 9 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@ -146,12 +146,7 @@ async function fetchUpcoming(channel, _page, { parameters }) {
return res.status;
}
async function fetchScene(url, channel, baseScene, { parameters }) {
if (baseScene.entryId) {
// identical data
return baseScene;
}
async function fetchScene(url, channel, _baseScene, { parameters }) {
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}`);