mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
nyaasi: second search path strips 0 from start of episode number. resolves #11019
This commit is contained in:
@@ -117,16 +117,14 @@ caps:
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: "?q={{ .Keywords }}&f={{ .Config.filter-id }}&c={{ .Config.cat-id }}&s={{ .Config.sort }}&o={{ .Config.type }}"
|
||||||
inputs:
|
# strip 0 from start of episode number - #11019
|
||||||
q: "{{ .Keywords }}"
|
- path: "?q={{ if .Keywords }}{{ re_replace .Keywords \" 0(\\d{1})\" \" $1\" }}{{ else }}&p=2{{ end }}&f={{ .Config.filter-id }}&c={{ .Config.cat-id }}&s={{ .Config.sort }}&o={{ .Config.type }}"
|
||||||
f: "{{ .Config.filter-id }}"
|
|
||||||
c: "{{ .Config.cat-id }}"
|
|
||||||
s: "{{ .Config.sort }}"
|
|
||||||
o: "{{ .Config.type }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr.default,tr.danger,tr.success
|
selector: tr.default,tr.danger,tr.success
|
||||||
|
filters:
|
||||||
|
- name: andmatch
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
|
Reference in New Issue
Block a user