Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian aa5e9a9c8b 1.139.4 2020-11-01 03:25:37 +01:00
DebaucheryLibrarian 8586817963 Fixed Insex html table selector. 2020-11-01 03:25:30 +01:00
3 changed files with 4 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.139.3",
"version": "1.139.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.139.3",
"version": "1.139.4",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -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;