Fixed pagination in Amnesiac/Hentaied scraper.

This commit is contained in:
DebaucheryLibrarian 2024-07-09 00:30:53 +02:00
parent 4925295798
commit 889a13f206
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function scrapeScene({ query }, { url }) {
} }
async function fetchLatest(channel, page = 1) { async function fetchLatest(channel, page = 1) {
const url = `${channel.url}/all-videos/${page}/`; const url = `${channel.url}/all-videos/page/${page}/`;
const res = await unprint.get(url, { selectAll: '.catposts > div:not(.clearfix):not(.flexcont)' }); const res = await unprint.get(url, { selectAll: '.catposts > div:not(.clearfix):not(.flexcont)' });
if (res.ok) { if (res.ok) {