From ff1573636748b3de56d26218565db1404b099908 Mon Sep 17 00:00:00 2001 From: same31 Date: Mon, 19 Feb 2018 14:09:11 +0100 Subject: [PATCH] Fix for AMZN in version --- lib/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/search.js b/lib/search.js index 8c65743..710f1bc 100644 --- a/lib/search.js +++ b/lib/search.js @@ -98,7 +98,7 @@ function findSubtitles (body, languages) { .replace(/BRRIP|BDRIP|BLURAY/, 'BLURAY') : 'UNKNOWN'; - team = version.replace(/.?(REPACK|PROPER|[XH].?264|HDTV|480P|720P|1080P|2160P|WEB(.DL|.?RIP)?|WR|BRRIP|BDRIP|BLURAY)+.?/g, '') + team = version.replace(/.?(REPACK|PROPER|[XH].?264|HDTV|480P|720P|1080P|2160P|AMZN|WEB(.DL|.?RIP)?|WR|BRRIP|BDRIP|BLURAY)+.?/g, '') .trim().toUpperCase() || 'UNKNOWN'; subs.push({