forked from DebaucheryLibrarian/traxxx
Enabled mobile album fetching for Pure Taboo and Fantasy Massage.
This commit is contained in:
@@ -468,18 +468,14 @@ async function fetchUpcoming(site) {
|
||||
}
|
||||
|
||||
function getDeepUrl(url, site, release, mobile) {
|
||||
const pathname = release?.path || new URL(url).pathname;
|
||||
const pathname = release?.path || new URL(url).pathname.replace('/en/video', '');
|
||||
|
||||
if (mobile) {
|
||||
return `${mobile}${pathname.replace('/en/video', '')}`;
|
||||
}
|
||||
|
||||
if (site.parameters?.deep === 'network') {
|
||||
return `${site.network.url}${pathname}`;
|
||||
return `${mobile}${pathname}`;
|
||||
}
|
||||
|
||||
if (site.parameters?.deep) {
|
||||
return `${site.parameters.deep}${pathname.replace('/en/video', '')}`;
|
||||
return `${site.parameters.deep}${pathname}`;
|
||||
}
|
||||
|
||||
return url;
|
||||
|
||||
Reference in New Issue
Block a user