Refactored Little Caprice Dreams. Fixed Karups breaking on BoyFun domain.

This commit is contained in:
DebaucheryLibrarian
2026-02-01 19:05:20 +01:00
parent 3189652fc8
commit f42d79d521
7 changed files with 163 additions and 150 deletions

View File

@@ -36,7 +36,7 @@ function scrapeAll(scenes) {
}
async function fetchLatest(channel, page) {
const res = await unprint.get(`${channel.url}videos/page${page}.html`, {
const res = await unprint.get(new URL(`./videos/page${page}.html`, channel.url).href, { // some sites require a trailing slash, join paths properly
selectAll: '.listing-videos .item',
cookies: {
warningHidden: 'hide',