updates horriblesubs scraper to split multiple season entries

This commit is contained in:
TheBeastLT
2020-03-05 14:57:57 +01:00
parent cbfcea65f8
commit 51eb21f112
6 changed files with 47 additions and 14 deletions

View File

@@ -4,7 +4,7 @@ const { torrentFiles } = require('../lib/torrent');
const { escapeTitle, getMetadata, getImdbId } = require('../lib/metadata');
const { Type } = require('./types');
const MIN_SIZE = 10 * 1024 * 1024; // 20 MB
const MIN_SIZE = 10 * 1024 * 1024; // 10 MB
async function parseTorrentFiles(torrent) {
const parsedTorrentName = parse(torrent.title);