Skip to content

Commit

Permalink
Fix for AMZN in version
Browse files Browse the repository at this point in the history
  • Loading branch information
same31 committed Feb 19, 2018
1 parent c244f02 commit ff15736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit ff15736

Please sign in to comment.