mirror of https://github.com/Jackett/Jackett
nyaasi: switch to suing inputs for path
This commit is contained in:
parent
0c45b98232
commit
05d4aceff3
|
@ -144,9 +144,22 @@ settings:
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "?q={{ .Keywords }}&f={{ .Config.filter-id }}&c={{ .Config.cat-id }}&s={{ .Config.sort }}&o={{ .Config.type }}"
|
- path: /
|
||||||
# strip 0 from start of episode number - #11019
|
inputs:
|
||||||
- path: "?q={{ if .Keywords }}{{ re_replace .Keywords \"\\b0(\\d{1})\\b\" \"$1\" }}{{ else }}&p=2{{ end }}&f={{ .Config.filter-id }}&c={{ .Config.cat-id }}&s={{ .Config.sort }}&o={{ .Config.type }}"
|
q: "{{ .Keywords }}"
|
||||||
|
f: "{{ .Config.filter-id }}"
|
||||||
|
c: "{{ .Config.cat-id }}"
|
||||||
|
s: "{{ .Config.sort }}"
|
||||||
|
o: "{{ .Config.type }}"
|
||||||
|
# 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 }}"
|
||||||
|
c: "{{ .Config.cat-id }}"
|
||||||
|
s: "{{ .Config.sort }}"
|
||||||
|
o: "{{ .Config.type }}"
|
||||||
|
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
|
|
Loading…
Reference in New Issue