mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-30 15:38:38 +02:00
itatorrents: fix season search for id based searches
Removal of season/ep info from keywords due to mixed usage of `S02` and `Stagione 2`
This commit is contained in:
@@ -104,6 +104,8 @@ search:
|
||||
keywordsfilters:
|
||||
- name: re_replace
|
||||
args: ["\\.", " "]
|
||||
- name: re_replace # strip season and/or ep when single keyword (needed for mixed usage of S01 and Stagione 1)
|
||||
args: ["^([SE]\\d{1,4}){1,2}$", "{{ if or (.Query.Season) (.Query.Ep) }}{{ else }}$1{{ end }}"]
|
||||
- name: re_replace # S01 to Stagione 1
|
||||
args: ["(?i)\\bS0*(\\d+)\\b", "Stagione $1"]
|
||||
|
||||
|
Reference in New Issue
Block a user