Compare commits

..

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
855a15bc73 1.249.13 2026-02-24 05:08:08 +01:00
DebaucheryLibrarian
3329661135 Added profile referer parameter to Gamma, needed for Dogfart. 2026-02-24 05:07:23 +01:00
4 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@@ -423,6 +423,7 @@ const networks = [
parent: 'dfxtra',
parameters: {
layout: 'api',
profileReferer: 'https://www.dogfartnetwork.com',
},
},
{

View File

@@ -928,7 +928,7 @@ function scrapeApiProfile(data, releases, siteSlug) {
async function fetchApiProfile({ name: actorName }, context, include) {
const siteSlug = context.entity.slug || context.site?.slug || context.network?.slug;
const actorSlug = encodeURI(actorName);
const referer = `${context.entity.origin}/en/search`;
const referer = context.parameters.profileReferer || `${context.entity.origin}/en/search`;
const { apiUrl } = await fetchApiCredentials(referer);