Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 295573c1ef 1.211.2 2022-03-27 00:27:29 +01:00
DebaucheryLibrarian e93e8ace5c Added deep scene force parameter to MindGeek scraper. 2022-03-27 00:27:26 +01:00
4 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.211.1", "version": "1.211.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.211.1", "version": "1.211.2",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@casl/ability": "^5.2.2", "@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.211.1", "version": "1.211.2",
"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": {

View File

@ -225,6 +225,7 @@ const networks = [
description: 'DigitalPlayground.com is the leader in high quality adult blockbuster movies and award winning sex parodies that feature the most exclusive pornstars online! Adult Film Database of adult movies.', description: 'DigitalPlayground.com is the leader in high quality adult blockbuster movies and award winning sex parodies that feature the most exclusive pornstars online! Adult Film Database of adult movies.',
parameters: { parameters: {
actorPath: 'modelprofile', actorPath: 'modelprofile',
forceDeep: true, // Digital Playground has movie and series information not available in the latest updates API
}, },
parent: 'mindgeek', parent: 'mindgeek',
}, },

View File

@ -345,7 +345,7 @@ async function fetchUpcoming(site, page, options) {
} }
async function fetchRelease(url, site, baseScene, options) { async function fetchRelease(url, site, baseScene, options) {
if (baseScene?.entryId && !baseScene.shallow) { if (baseScene?.entryId && !baseScene.shallow && !options.parameters.forceDeep) {
// overview and deep data is the same, don't hit server unnecessarily // overview and deep data is the same, don't hit server unnecessarily
return baseScene; return baseScene;
} }