From a5e4299673b35185be942d4f6183f238b671eaaf Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 7 Dec 2019 05:28:41 +1300 Subject: [PATCH] torrentfunk: colvert to lowercase before search. resolves #6502 --- src/Jackett.Common/Definitions/torrentfunk.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentfunk.yml b/src/Jackett.Common/Definitions/torrentfunk.yml index f2f4bcf83..790b38e56 100644 --- a/src/Jackett.Common/Definitions/torrentfunk.yml +++ b/src/Jackett.Common/Definitions/torrentfunk.yml @@ -32,8 +32,11 @@ search: paths: # https://www.torrentfunk.com/all/torrents/morty-402-castellano.html - - path: "all/torrents/{{ re_replace .Keywords \"[\\s]+\" \"-\" }}.html" - + - path: "all/torrents/{{ .Keywords }}.html" + keywordsfilters: + - name: re_replace + args: ["[\\s]+", "-"] + - name: tolower rows: selector: table.tmain tbody tr:has(a[href^="/torrent/"]) fields: