forked from DebaucheryLibrarian/traxxx
Not fetching mobile Gamma page when photos are not expected.
This commit is contained in:
parent
04c176fa8b
commit
52218c30f8
|
@ -750,7 +750,7 @@ async function fetchScene(url, site, baseRelease, options) {
|
|||
}
|
||||
|
||||
const deepUrl = getDeepUrl(url, site, baseRelease);
|
||||
const mobileUrl = getDeepUrl(url, site, baseRelease, site.parameters?.mobile || site.parent?.parameters?.mobile);
|
||||
const mobileUrl = options.includePhotos && getDeepUrl(url, site, baseRelease, site.parameters?.mobile || site.parent?.parameters?.mobile);
|
||||
|
||||
if (deepUrl) {
|
||||
const [res, mobileRes] = await Promise.all([
|
||||
|
|
Loading…
Reference in New Issue