forked from DebaucheryLibrarian/traxxx
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',
|
||||
url: 'https://www.evilangel.com',
|
||||
parent: 'evilangel',
|
||||
parameters: {
|
||||
filterExclusive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
slug: 'analacrobats',
|
||||
|
|
|
@ -106,6 +106,10 @@ async function scrapeApiReleases(json, site) {
|
|||
return null;
|
||||
}
|
||||
|
||||
if (site.parameters?.filterExclusive && scene.availableOnSite.length > 1) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const release = {
|
||||
entryId: scene.clip_id,
|
||||
title: scene.title,
|
||||
|
|
Loading…
Reference in New Issue