Updated unprint for improved redirect logic.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user