Gamma won't attempt to fetch photos when 'photos' parameter is false.
This commit is contained in:
parent
9d9c741ce9
commit
6820608a09
|
@ -2467,6 +2467,7 @@ const sites = [
|
|||
useGamma: true,
|
||||
scene: false,
|
||||
deep: 'https://21sextury.com/en/video',
|
||||
photos: false,
|
||||
},
|
||||
},
|
||||
// JULES JORDAN
|
||||
|
|
|
@ -18,7 +18,7 @@ function getAlbumUrl(albumPath, site) {
|
|||
: `${site.url}${site.parameters.photos}/${albumPath.split('/').slice(-2).join('/')}`;
|
||||
}
|
||||
|
||||
if (site.url) {
|
||||
if (site.url && site.parameters?.photos !== false) {
|
||||
return `${site.url}${albumPath}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue