forked from DebaucheryLibrarian/traxxx
Added deep scene force parameter to MindGeek scraper.
This commit is contained in:
parent
43af7ba777
commit
e93e8ace5c
|
@ -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.',
|
||||
parameters: {
|
||||
actorPath: 'modelprofile',
|
||||
forceDeep: true, // Digital Playground has movie and series information not available in the latest updates API
|
||||
},
|
||||
parent: 'mindgeek',
|
||||
},
|
||||
|
|
|
@ -345,7 +345,7 @@ async function fetchUpcoming(site, page, 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
|
||||
return baseScene;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue