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", "name": "traxxx",
"version": "1.250.27", "version": "1.250.28",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.250.27", "version": "1.250.28",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.458.0", "@aws-sdk/client-s3": "^3.458.0",

View File

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

View File

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

View File

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

View File

@@ -21,6 +21,10 @@ async function scrapeApiReleases(json, site, options) {
return acc; return acc;
} }
if (options.parameters?.filterChannel && scene.mainChannel?.id !== options.parameters.filterChannel) {
return acc;
}
const release = { const release = {
entryId: scene.clip_id, entryId: scene.clip_id,
description: scene.description, description: scene.description,