[scraper] handle movie range as movie collection

This commit is contained in:
TheBeastLT
2020-03-18 14:31:37 +01:00
parent 9c066a88f1
commit 186a8457cd
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ async function createTorrentEntry(torrent) {
.catch(() => undefined);
}
if (!torrent.imdbId && !torrent.kitsuId && !titleInfo.complete) {
if (!torrent.imdbId && !torrent.kitsuId && !titleInfo.complete && typeof titleInfo.year !== 'string') {
console.log(`imdbId or kitsuId not found: ${torrent.title}`);
repository.createFailedImdbTorrent(torrent);
return;