forked from DebaucheryLibrarian/traxxx
Major API change for 'q', renamed to 'qu', refactored modules. Fixed Gamma URL entry ID regex.
This commit is contained in:
@@ -96,9 +96,9 @@ async function fetchSceneNative(url, site, release) {
|
||||
return fetchScene(url, site, release);
|
||||
}
|
||||
|
||||
const qScene = await get(url);
|
||||
const res = await get(url);
|
||||
|
||||
return qScene && scrapeSceneNative(qScene, url, site);
|
||||
return res.ok ? scrapeSceneNative(res.item, url, site) : res.status;
|
||||
}
|
||||
|
||||
async function fetchSceneWrapper(url, site, release) {
|
||||
|
||||
Reference in New Issue
Block a user