Updated unprint for improved redirect logic.

This commit is contained in:
DebaucheryLibrarian
2026-01-08 02:12:59 +01:00
parent 5e081a8e2d
commit a9ddce7150
3 changed files with 6 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ function scrapeAll(scenes, entity) {
}
async function fetchLatest(site, page = 1) {
const url = `${site.url}/video/gallery/${((page - 1) * 12) || ''}`;
const url = `${site.url}/video/gallery/${(page - 1) * 12}`; // /0 redirects back to /
const res = await unprint.get(url, {
interface: 'request',