Merged Vogov into Teen Mega World, added No Boring, set up affiliate links.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user