Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
0cc6ebc305 1.250.28 2026-03-03 22:40:52 +01:00
DebaucheryLibrarian
016c24af28 Added channel filter option to Gamma scraper, re-added Disruptive Films channel. 2026-03-03 22:40:49 +01:00
5 changed files with 9 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.250.27",
"version": "1.250.28",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.250.27",
"version": "1.250.28",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

@@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.250.27",
"version": "1.250.28",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@@ -3025,6 +3025,7 @@ const priorities = [ // higher index is higher priority
['gangbang'],
['gay', 'transsexual', 'bisexual', 'hentai'],
['pissing'],
['compilation', 'bts'],
].reduce((acc, slugs, index) => {
slugs.forEach((slug) => { acc[slug] = index; });

View File

@@ -1018,12 +1018,12 @@ const sites = [
{
name: 'Disruptive Films',
slug: 'disruptivefilms',
delete: true,
url: 'https://www.disruptivefilms.com',
parent: 'disruptivefilms',
tags: ['gay'],
parameters: {
queryChannel: 'asgmaxdisruptivefilms',
filterChannel: 'asgmaxdisruptivefilms',
},
},
{

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,