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: /
|
- path: /
|
||||||
inputs:
|
inputs:
|
||||||
q: "{{ .Keywords }}"
|
q: "{{ .Keywords }}"
|
||||||
f: "{{ .Config.filter-id }}"
|
|
||||||
# strip 0 from start of episode number - #11019, or fetch page 2 for keywordless
|
# strip 0 from start of episode number - #11019, or fetch page 2 for keywordless
|
||||||
- path: /
|
- path: /
|
||||||
inputs:
|
inputs:
|
||||||
q: "{{ if .Keywords }}{{ re_replace .Keywords \"\\b0(\\d{1})\\b\" \"$1\" }}{{ else }}{{ end }}"
|
q: "{{ if .Keywords }}{{ re_replace .Keywords \"\\b0(\\d{1})\\b\" \"$1\" }}{{ else }}{{ end }}"
|
||||||
p: "{{ if .Keywords }}{{ else }}2{{ end }}"
|
p: "{{ if .Keywords }}{{ else }}2{{ end }}"
|
||||||
f: "{{ .Config.filter-id }}"
|
|
||||||
inputs:
|
inputs:
|
||||||
|
f: "{{ .Config.filter-id }}"
|
||||||
c: "{{ .Config.cat-id }}"
|
c: "{{ .Config.cat-id }}"
|
||||||
s: "{{ .Config.sort }}"
|
s: "{{ .Config.sort }}"
|
||||||
o: "{{ .Config.type }}"
|
o: "{{ .Config.type }}"
|
||||||
|
Reference in New Issue
Block a user