Accomodating unprint proxy options.

This commit is contained in:
DebaucheryLibrarian
2024-10-31 05:47:54 +01:00
parent 928650b602
commit 0fe6a1119a
6 changed files with 11 additions and 13 deletions

View File

@@ -91,9 +91,7 @@ function scrapeProfile({ query }, url, channel) {
async function fetchLatest(channel, page) {
// const res = await unprint.get(`https://www.analvids.com/new-videos/${page}`, { selectAll: '.card-scene' }); // analvids as channel
const res = await unprint.get(`${channel.url}/latest/${page}`, {
selectAll: '.card-scene', // studios as channels
});
const res = await unprint.get(`${channel.url}/latest/${page}`, { selectAll: '.card-scene' }); // studios as channels
if (res.ok) {
return scrapeAll(res.context, channel);