Added orphan media flush config. Added Jules Jordan to proxy list due SFW redirect.
This commit is contained in:
parent
1f845bccec
commit
9deff31fe1
|
@ -372,6 +372,8 @@ module.exports = {
|
||||||
'www.rawattack.com',
|
'www.rawattack.com',
|
||||||
'www.realsensual.com',
|
'www.realsensual.com',
|
||||||
'www.vlogxxx.com',
|
'www.vlogxxx.com',
|
||||||
|
// etc.
|
||||||
|
'www.julesjordan.com', // production server gets redirected to SFW trial site
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
bypass: {
|
bypass: {
|
||||||
|
@ -451,6 +453,7 @@ module.exports = {
|
||||||
attempts: 2,
|
attempts: 2,
|
||||||
fetchStreams: true,
|
fetchStreams: true,
|
||||||
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,
|
||||||
flushWindow: 1000,
|
flushWindow: 1000,
|
||||||
},
|
},
|
||||||
titleSlugLength: 50,
|
titleSlugLength: 50,
|
||||||
|
|
|
@ -323,6 +323,7 @@ const { argv } = yargs
|
||||||
describe: 'Remove all orphaned media items from database and disk.',
|
describe: 'Remove all orphaned media items from database and disk.',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
alias: 'flush-media',
|
alias: 'flush-media',
|
||||||
|
default: config.media.flushOrphaned,
|
||||||
})
|
})
|
||||||
.option('flush-media-files', {
|
.option('flush-media-files', {
|
||||||
describe: 'Remove files from storage when flushing media.',
|
describe: 'Remove files from storage when flushing media.',
|
||||||
|
|
|
@ -265,8 +265,6 @@ function scrapeMovie({ query }, { url }) {
|
||||||
|
|
||||||
scene.entryId = getEntryIdFromTitle(scene);
|
scene.entryId = getEntryIdFromTitle(scene);
|
||||||
|
|
||||||
console.log(scene);
|
|
||||||
|
|
||||||
return scene;
|
return scene;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -275,8 +273,6 @@ function scrapeMovie({ query }, { url }) {
|
||||||
movie.date = movie.scenes?.[0]?.date;
|
movie.date = movie.scenes?.[0]?.date;
|
||||||
movie.datePrecision = 'month';
|
movie.datePrecision = 'month';
|
||||||
|
|
||||||
console.log('jj movie', movie);
|
|
||||||
|
|
||||||
return movie;
|
return movie;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue