[scraper] improves anime imdb enriching

This commit is contained in:
TheBeastLT
2020-11-08 21:22:38 +01:00
parent f0ea03b223
commit a611674231
2 changed files with 36 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ function parseSeriesVideo(video, parsedTorrentName) {
}
function isMovieVideo(video, otherVideos, type, hasMovies) {
if (Number.isInteger(video.season)) {
if (Number.isInteger(video.season) && Array.isArray(video.episodes)) {
// not movie if video has season
return false;
}