mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-01-11 22:40:22 +00:00
do not check health for movies as well when moch configured
This commit is contained in:
parent
749070cc5b
commit
ba3a289ef9
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ function sortBySeeders(streams, config, type) {
|
|||
const healthy = streams.filter(stream => extractSeeders(stream.title) >= HEALTHY_SEEDERS);
|
||||
const seeded = streams.filter(stream => extractSeeders(stream.title) >= SEEDED_SEEDERS);
|
||||
|
||||
if (type === Type.SERIES && hasMochConfigured(config)) {
|
||||
if (hasMochConfigured(config)) {
|
||||
return streams;
|
||||
} else if (healthy.length >= MIN_HEALTHY_COUNT) {
|
||||
return healthy;
|
||||
|
|
|
|||
Loading…
Reference in a new issue