Added filter parameter to Gamma scraper to distinguish Evil Angel exclusives from channel scenes.

This commit is contained in:
DebaucheryLibrarian 2020-09-10 03:43:16 +02:00
parent cecc01d216
commit 88eeab410b
2 changed files with 7 additions and 0 deletions

View File

@ -1969,6 +1969,9 @@ const sites = [
name: 'Evil Angel', name: 'Evil Angel',
url: 'https://www.evilangel.com', url: 'https://www.evilangel.com',
parent: 'evilangel', parent: 'evilangel',
parameters: {
filterExclusive: true,
},
}, },
{ {
slug: 'analacrobats', slug: 'analacrobats',

View File

@ -106,6 +106,10 @@ async function scrapeApiReleases(json, site) {
return null; return null;
} }
if (site.parameters?.filterExclusive && scene.availableOnSite.length > 1) {
return null;
}
const release = { const release = {
entryId: scene.clip_id, entryId: scene.clip_id,
title: scene.title, title: scene.title,