Added filter parameter to Gamma scraper to distinguish Evil Angel exclusives from channel scenes.
This commit is contained in:
parent
cecc01d216
commit
88eeab410b
|
@ -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',
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue