mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] handle movie range as movie collection
This commit is contained in:
@@ -22,7 +22,7 @@ async function parseTorrentFiles(torrent) {
|
||||
}
|
||||
|
||||
if (torrent.type === Type.MOVIE && !parsedTorrentName.seasons || metadata && metadata.type === Type.MOVIE) {
|
||||
if (parsedTorrentName.complete) {
|
||||
if (parsedTorrentName.complete || typeof parsedTorrentName.year === 'string') {
|
||||
return torrentFiles(torrent)
|
||||
.then(files => files.filter(file => file.size > MIN_SIZE))
|
||||
.then(files => Promise.all(files
|
||||
|
||||
Reference in New Issue
Block a user