From db42bc944bcd247fd31d39966172d1e627601ae1 Mon Sep 17 00:00:00 2001 From: Khogniak Date: Wed, 23 Aug 2017 10:34:12 +0200 Subject: [PATCH] Fixed typo in regex --- src/Jackett/Definitions/yggtorrent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett/Definitions/yggtorrent.yml b/src/Jackett/Definitions/yggtorrent.yml index 1c091fdb6..d87911340 100755 --- a/src/Jackett/Definitions/yggtorrent.yml +++ b/src/Jackett/Definitions/yggtorrent.yml @@ -103,7 +103,7 @@ selector: "a.torrent-name" filters: - name: re_replace - args: ["(?i)^(?:(.+?)((?:[\\.\\-\\s_\\[]+(?:imax|(?:dvd|bd|tv)(?:rip|scr)|bluray(?:\\-?rip)?|720\\s*p?|1080\\s*p?|vof?|vost(?:fr)?|multi|vf(?:f|q)?[1-3]?[1-3]?|(?:true)?french|eng?)[\\.\\-\\s_\\]]*)*)([\\(\\[]?(?:20|1[7-9])\\d{2}[\\)\\]]?)(.*)$|(.*))$", "$1 $3 $2 $4 $5"] + args: ["(?i)^(?:(.+?)((?:[\\.\\-\\s_\\[]+(?:imax|(?:dvd|bd|tv)(?:rip|scr)|bluray(?:\\-?rip)?|720\\s*p?|1080\\s*p?|vof?|vost(?:fr)?|multi|vf(?:f|q)?[1-3]?|(?:true)?french|eng?)[\\.\\-\\s_\\]]*)*)([\\(\\[]?(?:20|1[7-9])\\d{2}[\\)\\]]?)(.*)$|(.*))$", "$1 $3 $2 $4 $5"] - name: replace args: [".", " "] - name: trim