From 88a79b5e2e51bd674f10ee16680ce35b45d95055 Mon Sep 17 00:00:00 2001 From: desimaniac Date: Sat, 18 Mar 2017 02:39:02 -0500 Subject: [PATCH] Limetorrents: remove season tag without episode from keywords Fixes #1164 --- src/Jackett/Definitions/limetorrents.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Jackett/Definitions/limetorrents.yml b/src/Jackett/Definitions/limetorrents.yml index 2b8499547..cadb64fa1 100644 --- a/src/Jackett/Definitions/limetorrents.yml +++ b/src/Jackett/Definitions/limetorrents.yml @@ -27,7 +27,10 @@ selector: a.csprite_dltorrent search: - path: "{{if .Query.Keywords}}search/all/{{ .Query.Keywords}}/{{else}}/index.php?page=latest100{{end}}" + path: "{{if .Keywords}}search/all/{{ .Keywords}}/{{else}}/index.php?page=latest100{{end}}" + keywordsfilters: + - name: re_replace + args: ["S[0-9]{2}([^E]|$)", ""] #remove season tag without episode rows: selector: ".table2 > tbody > tr[bgcolor]" fields: @@ -64,4 +67,4 @@ downloadvolumefactor: text: "0" uploadvolumefactor: - text: "1" \ No newline at end of file + text: "1"