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/"])