mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
nyaasi: third time trying to optimise ;-)
This commit is contained in:
@@ -147,14 +147,13 @@ search:
|
||||
- path: /
|
||||
inputs:
|
||||
q: "{{ .Keywords }}"
|
||||
f: "{{ .Config.filter-id }}"
|
||||
# strip 0 from start of episode number - #11019, or fetch page 2 for keywordless
|
||||
- path: /
|
||||
inputs:
|
||||
q: "{{ if .Keywords }}{{ re_replace .Keywords \"\\b0(\\d{1})\\b\" \"$1\" }}{{ else }}{{ end }}"
|
||||
p: "{{ if .Keywords }}{{ else }}2{{ end }}"
|
||||
f: "{{ .Config.filter-id }}"
|
||||
inputs:
|
||||
f: "{{ .Config.filter-id }}"
|
||||
c: "{{ .Config.cat-id }}"
|
||||
s: "{{ .Config.sort }}"
|
||||
o: "{{ .Config.type }}"
|
||||
|
Reference in New Issue
Block a user