Fixed Insex html table selector.
This commit is contained in:
parent
ccca6a7714
commit
8586817963
|
@ -37,6 +37,7 @@ function scrapeLatest(scenes, site) {
|
|||
release.likes = parseInt(query.q('.articlePostDateText td:nth-child(3)', true), 10);
|
||||
|
||||
const cover = query.img('a img');
|
||||
|
||||
release.covers = [[
|
||||
cover.replace('_thumbnail', ''),
|
||||
cover,
|
||||
|
@ -144,7 +145,7 @@ async function fetchLatest(site, page = 1) {
|
|||
}
|
||||
*/
|
||||
|
||||
return scrapeLatest(qu.extractAll(res.body.html, 'body > table'), site);
|
||||
return scrapeLatest(qu.extractAll(res.body.html, '#articleTable > tbody > tr:nth-child(2) > td > table'), site);
|
||||
}
|
||||
|
||||
return res.status;
|
||||
|
|
Loading…
Reference in New Issue