[scraper] updates tpb dum scraper

This commit is contained in:
TheBeastLT
2020-03-15 11:24:18 +01:00
parent 3ca4479d8a
commit 2ea787c0c7
5 changed files with 28 additions and 27 deletions

View File

@@ -7,7 +7,8 @@ const { retrieveTorrentFiles } = require('./cache');
const MAX_PEER_CONNECTIONS = process.env.MAX_PEER_CONNECTIONS || 20;
const SEEDS_CHECK_TIMEOUT = process.env.SEEDS_CHECK_TIMEOUT || 10 * 1000; // 10 secs
const EXTENSIONS = ["3g2", "3gp", "avi", "flv", "mkv", "mov", "mp2", "mp4", "mpe", "mpeg", "mpg", "mpv", "webm", "wmv"];
const EXTENSIONS = ["3g2", "3gp", "avi", "flv", "mkv", "mov", "mp2", "mp4", "mpe", "mpeg", "mpg", "mpv", "webm", "wmv",
"ogm"];
module.exports.updateCurrentSeeders = function (torrent) {
return new Promise((resolve) => {