From fca82c14e222444b0b9c8e0ea0b3004e9a43d0c7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 21 Oct 2020 16:58:45 +1300 Subject: [PATCH] oxtorrent: season pack support. #9712 --- src/Jackett.Common/Definitions/oxtorrent.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/oxtorrent.yml b/src/Jackett.Common/Definitions/oxtorrent.yml index a54f058b9..25b055513 100644 --- a/src/Jackett.Common/Definitions/oxtorrent.yml +++ b/src/Jackett.Common/Definitions/oxtorrent.yml @@ -80,7 +80,13 @@ download: search: paths: - - path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{else}}{{end}}" + - path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{ else }}{{ end }}" + keywordsfilters: + # if searching for season packs swith S01 to saison 1 #9712 + - name: re_replace + args: ["(?i)(S0)(\\d{1,2})$", "saison $2"] + - name: re_replace + args: ["(?i)(S)(\\d{1,3})$", "saison $2"] rows: selector: table.table-hover > tbody > tr:has(a[href*="torrent/"])