Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
a6014a5d1a 1.248.43 2026-02-08 03:35:14 +01:00
DebaucheryLibrarian
cc45502119 Added stream host exclude config. 2026-02-08 03:35:10 +01:00
5 changed files with 12 additions and 3 deletions

View File

@@ -420,6 +420,7 @@ module.exports = {
streamConcurrency: 2, // max number of video streams (m3u8 etc.) to fetch and process at once streamConcurrency: 2, // max number of video streams (m3u8 etc.) to fetch and process at once
flushOrphaned: true, flushOrphaned: true,
flushWindow: 1000, flushWindow: 1000,
excludeStreamHostnames: [], // resource hogs
}, },
titleSlugLength: 50, titleSlugLength: 50,
}; };

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.248.42", "version": "1.248.43",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.248.42", "version": "1.248.43",
"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.248.42", "version": "1.248.43",
"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

@@ -672,6 +672,12 @@ async function fetchHttpSource(source, tempFileTarget, hashStream) {
streamQueue.define('fetchStreamSource', async ({ source, tempFileTarget, hashStream }) => { streamQueue.define('fetchStreamSource', async ({ source, tempFileTarget, hashStream }) => {
const meta = { mimetype: 'video/mp4' }; const meta = { mimetype: 'video/mp4' };
const { hostname } = new URL(source.stream);
if (config.media.excludeStreamHostnames.includes(hostname)) {
throw new Error(`Stream source hostname ${hostname} is excluded by config`);
}
const command = ffmpeg(source.stream) const command = ffmpeg(source.stream)
.format('mp4') .format('mp4')
.outputOptions(['-movflags frag_keyframe+empty_moov']) .outputOptions(['-movflags frag_keyframe+empty_moov'])

View File

@@ -256,6 +256,8 @@ const actors = [
{ entity: 'wakeupnfuck', name: 'Abby Lee Brazil', fields: ['avatar', 'nationality'] }, { entity: 'wakeupnfuck', name: 'Abby Lee Brazil', fields: ['avatar', 'nationality'] },
]; ];
// TODO: Brazzers, MetroHD, Blowpass, FameDigital, FantasyMassage, PrideStudios, Mamacitaz, Loveherfilms, Shelovesblack, Jerkaoke
const actorScrapers = scrapers.actors; const actorScrapers = scrapers.actors;
const sources = argv.sources || null; const sources = argv.sources || null;