From 889a13f2065bdc2c68acc93795b566d7db979189 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 9 Jul 2024 00:30:53 +0200 Subject: [PATCH] Fixed pagination in Amnesiac/Hentaied scraper. --- src/scrapers/amnesiac.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrapers/amnesiac.js b/src/scrapers/amnesiac.js index 347f4716..b27601fb 100644 --- a/src/scrapers/amnesiac.js +++ b/src/scrapers/amnesiac.js @@ -62,7 +62,7 @@ function scrapeScene({ query }, { url }) { } 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)' }); if (res.ok) {