Compare commits
2 Commits
2c7fb51d65
...
9c4078a917
| Author | SHA1 | Date |
|---|---|---|
|
|
9c4078a917 | |
|
|
81c7925b86 |
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.245.16",
|
"version": "1.245.17",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.245.16",
|
"version": "1.245.17",
|
||||||
"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.245.16",
|
"version": "1.245.17",
|
||||||
"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": {
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,12 @@ async function fetchUpcoming(channel, _page, { parameters }) {
|
||||||
return res.status;
|
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 slug = new URL(url).pathname.split('/').at(-1);
|
||||||
const endpoint = await fetchEndpoint(channel);
|
const endpoint = await fetchEndpoint(channel);
|
||||||
const res = await http.get(`${channel.url}/_next/data/${endpoint}/${parameters.videos || 'videos'}/${slug}.json?slug=${slug}`);
|
const res = await http.get(`${channel.url}/_next/data/${endpoint}/${parameters.videos || 'videos'}/${slug}.json?slug=${slug}`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue