Removed VR indicator from Naughty America scraper.
This commit is contained in:
parent
677c736621
commit
7cdc4a960f
|
|
@ -59,13 +59,6 @@ async function fetchLatest(channel, page = 1, { parameters }) {
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const scenes = scrapeLatest(res.context, channel, parameters);
|
const scenes = scrapeLatest(res.context, channel, parameters);
|
||||||
const vrScenes = scenes.filter((scene) => scene.tags.includes('VR'));
|
|
||||||
|
|
||||||
// console.log(scenes.length, vrScenes.length, scenes.length / vrScenes.length);
|
|
||||||
|
|
||||||
if (vrScenes.length / scenes.length > 0.6) {
|
|
||||||
console.log('VIRTUAL REALITY', channel.slug, channel.url);
|
|
||||||
}
|
|
||||||
|
|
||||||
return scenes;
|
return scenes;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue