From 684fadd2d2be7fbc605e511df7e8c42faa3baa58 Mon Sep 17 00:00:00 2001 From: R91g Date: Sun, 1 Apr 2018 22:51:41 +0200 Subject: [PATCH] Puntotorrent: TV Shows search and spanish language (#2842) Change TV Shows search format for Spanish style and add [spanish] for detected Spanish language in Sonarr/Radarr --- src/Jackett.Common/Definitions/puntotorrent.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/puntotorrent.yml b/src/Jackett.Common/Definitions/puntotorrent.yml index 1a5a2a8c3..c772c5896 100644 --- a/src/Jackett.Common/Definitions/puntotorrent.yml +++ b/src/Jackett.Common/Definitions/puntotorrent.yml @@ -106,11 +106,14 @@ search: path: index.php + keywordsfilters: + - name: re_replace + args: ["S0?(\\d{1,2})E(\\d{1,2})", "T$1 $2"] inputs: page: "torrents" $raw: "&category={{range .Categories}}{{.}};{{end}}" active: "1" - search: "{{ .Query.Keywords }}" + search: "{{ .Keywords }}" rows: selector: "#mcol .block-content-l table table.lista > tbody > tr:not(:first-child):not(.descripcion)" fields: @@ -122,6 +125,9 @@ args: category title: selector: td:nth-child(2) a + filters: + - name: append + args: " [spanish]" details: selector: td:nth-child(3) a attribute: href