Fixed latest query in Gamma scraper.
This commit is contained in:
parent
7f11d0ca91
commit
57d46f5842
4388
evilangel_urls
4388
evilangel_urls
File diff suppressed because it is too large
Load Diff
|
@ -685,7 +685,7 @@ function getUpcomingUrl(site) {
|
||||||
|
|
||||||
async function fetchLatest(site, page = 1) {
|
async function fetchLatest(site, page = 1) {
|
||||||
const url = getLatestUrl(site, page);
|
const url = getLatestUrl(site, page);
|
||||||
const res = await qu.getAll(url, 'li[data-itemtype=scene], div[data-itemtype*=scene], div[]');
|
const res = await qu.getAll(url, 'li[data-itemtype=scene], div[data-itemtype*=scene]');
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
return scrapeAll(res.items, site);
|
return scrapeAll(res.items, site);
|
||||||
|
|
Loading…
Reference in New Issue