From 07d5b3979b6ae9576be7178c8a0f375ce85bc0ab Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 25 Apr 2020 07:24:11 +1200 Subject: [PATCH] torrentleech.pl: refine year stripping. #7424 --- src/Jackett.Common/Definitions/torrentleech-pl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/torrentleech-pl.yml b/src/Jackett.Common/Definitions/torrentleech-pl.yml index 89a7faf1b..138fea0e9 100644 --- a/src/Jackett.Common/Definitions/torrentleech-pl.yml +++ b/src/Jackett.Common/Definitions/torrentleech-pl.yml @@ -97,7 +97,7 @@ keywordsfilters: # remove the year from the titles as the site chokes on them during search #7424 - name: re_replace - args: ["(^\\D.*)((?:19|20)\\d{2})(.*$)", "$1$3"] + args: [" +(?:19|20)\\d{2} *$", ""] rows: selector: table[border="1"][cellspacing="0"][cellpadding="5"] > tbody > tr:has(a[href^="details.php?id="])