Compare commits
2 Commits
791bd6bf27
...
855a15bc73
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
855a15bc73 | ||
|
|
3329661135 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.249.12",
|
"version": "1.249.13",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.249.12",
|
"version": "1.249.13",
|
||||||
"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.249.12",
|
"version": "1.249.13",
|
||||||
"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": {
|
||||||
|
|||||||
@@ -423,6 +423,7 @@ const networks = [
|
|||||||
parent: 'dfxtra',
|
parent: 'dfxtra',
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'api',
|
layout: 'api',
|
||||||
|
profileReferer: 'https://www.dogfartnetwork.com',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -928,7 +928,7 @@ function scrapeApiProfile(data, releases, siteSlug) {
|
|||||||
async function fetchApiProfile({ name: actorName }, context, include) {
|
async function fetchApiProfile({ name: actorName }, context, include) {
|
||||||
const siteSlug = context.entity.slug || context.site?.slug || context.network?.slug;
|
const siteSlug = context.entity.slug || context.site?.slug || context.network?.slug;
|
||||||
const actorSlug = encodeURI(actorName);
|
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);
|
const { apiUrl } = await fetchApiCredentials(referer);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user