forked from DebaucheryLibrarian/traxxx
Enabled mobile album scraping for Burning Angel and Fame Digital.
This commit is contained in:
@@ -468,7 +468,7 @@ async function fetchUpcoming(site) {
|
||||
}
|
||||
|
||||
function getDeepUrl(url, site, release, mobile) {
|
||||
const pathname = release?.path || new URL(url).pathname.replace('/en/video', '');
|
||||
const pathname = release?.path || new URL(url).pathname.replace(/\/en(\/video)?|\/scene/g, '');
|
||||
|
||||
if (mobile) {
|
||||
return `${mobile}${pathname}`;
|
||||
|
||||
Reference in New Issue
Block a user