From 11f3c08d1776b8950f863f40b7b7cc5082968e2e Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Mon, 11 May 2020 10:36:25 +0200 Subject: [PATCH] [scraper] updates featurette regex --- scraper/lib/torrentFiles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scraper/lib/torrentFiles.js b/scraper/lib/torrentFiles.js index 30e0d7e..0ece7db 100644 --- a/scraper/lib/torrentFiles.js +++ b/scraper/lib/torrentFiles.js @@ -373,7 +373,7 @@ function assignKitsuOrImdbEpisodes(torrent, files, metadata) { return files; } -function findMovieImdbId(title, type) { +function findMovieImdbId(title) { const parsedTitle = typeof title === 'string' ? parse(title) : title; return getImdbId(parsedTitle, Type.MOVIE).catch(() => undefined); } @@ -391,7 +391,7 @@ function isSingleMovie(videos) { } function isFeaturette(video) { - return /featurettes?\//i.test(video.path); + return /(?:featurettes?|extras-grym)\//i.test(video.path); } function clearInfoFields(video) {