Using request interface for Vixen latest.
This commit is contained in:
@@ -74,7 +74,9 @@ function scrapeAll(scenes, channel) {
|
||||
|
||||
async function fetchLatest(site, page = 1) {
|
||||
const url = `${site.url}/videos?page=${page}`;
|
||||
const res = await unprint.get(url);
|
||||
const res = await unprint.get(url, {
|
||||
interface: 'request',
|
||||
});
|
||||
|
||||
if (res.ok) {
|
||||
const data = res.context.query.json('#__NEXT_DATA__');
|
||||
|
||||
Reference in New Issue
Block a user