Added channel filter option to Gamma scraper, re-added Disruptive Films channel.
This commit is contained in:
@@ -21,6 +21,10 @@ async function scrapeApiReleases(json, site, options) {
|
||||
return acc;
|
||||
}
|
||||
|
||||
if (options.parameters?.filterChannel && scene.mainChannel?.id !== options.parameters.filterChannel) {
|
||||
return acc;
|
||||
}
|
||||
|
||||
const release = {
|
||||
entryId: scene.clip_id,
|
||||
description: scene.description,
|
||||
|
||||
Reference in New Issue
Block a user