Merged Vogov into Teen Mega World, added No Boring, set up affiliate links.

This commit is contained in:
DebaucheryLibrarian
2026-02-08 22:35:43 +01:00
parent ce6ad5c14a
commit e46607a5df
5 changed files with 130 additions and 215 deletions

View File

@@ -41,8 +41,8 @@ function scrapeAll(scenes, channel) {
});
}
async function fetchLatest(channel, page = 1) {
const url = `${channel.type === 'network' ? channel.url : channel.parent.url}/search.php?site[]=${channel.parameters.siteId}&page=${page}`;
async function fetchLatest(channel, page = 1, { parameters }) {
const url = `${channel.type === 'network' || parameters.native ? channel.url : channel.parent.url}/search.php?site[]=${channel.parameters.siteId}&page=${page}`;
const res = await unprint.get(url, { selectAll: '.video-list .thumb' });
if (res.ok) {