Refactored Little Caprice Dreams. Fixed Karups breaking on BoyFun domain.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user