mirror of https://github.com/Jackett/Jackett
RacingForMe: Search replacement compatibility (#9286)
Add keywords filter search replacement to ensure compatibility with search terms of races since S##E## is not compatible. e.g. S2020E02 Becomes `2020 Round 2`
This commit is contained in:
parent
8f4c9f8f30
commit
afcd379182
|
@ -192,6 +192,10 @@ search:
|
|||
- path: "search/{{ if .Keywords }}{{ .Keywords }}{{else}}*{{end}}"
|
||||
inputs:
|
||||
offset: 40
|
||||
keywordsfilters:
|
||||
# S2020E02 Becomes `2020 Round 2`
|
||||
- name: re_replace
|
||||
args: ["S(\\d{1,4})E(\\d{1,2})", "$1 Round $2"]
|
||||
inputs:
|
||||
c: -1
|
||||
ob: "{{ .Config.sort }}"
|
||||
|
|
Loading…
Reference in New Issue