Added channel filter option to Gamma scraper, re-added Disruptive Films channel.

This commit is contained in:
DebaucheryLibrarian
2026-03-03 22:40:49 +01:00
parent 2158550091
commit 016c24af28
3 changed files with 6 additions and 1 deletions

View File

@@ -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,