Added bash CLI shorthand. Properly setting parameters in site results. Removed obsolete URL restriction from Reality Kings scraper.
This commit is contained in:
@@ -134,11 +134,7 @@ async function fetchLatest(site, page = 1) {
|
||||
}
|
||||
|
||||
async function fetchScene(url, site) {
|
||||
if (site.isFallback) {
|
||||
throw new Error('Cannot fetch scene details from this resource');
|
||||
}
|
||||
|
||||
const entryId = url.split('/').slice(-1)[0];
|
||||
const entryId = url.match(/\d+/)[0];
|
||||
|
||||
const cookieJar = new CookieJar();
|
||||
const session = bhttp.session({ cookieJar });
|
||||
|
||||
Reference in New Issue
Block a user