mirror of https://github.com/Jackett/Jackett
torrentquest: fix keywordless search
sorting movies or tv by age results in 404 error
This commit is contained in:
parent
c24a4d6cce
commit
6df47eeefc
|
@ -55,8 +55,8 @@ search:
|
|||
# return movie and tv results if there are no search parms supplied (for use with the TEST button)
|
||||
# https://torrentquest.com/download/movies/se/desc/
|
||||
# https://torrentquest.com/m/mandalorian-s01e07/age/desc/
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}{{ else }}download/movies{{ end }}/{{ .Config.sort }}/{{ .Config.type }}/"
|
||||
- path: "{{ if .Keywords }}{{ else }}download/tv/{{ .Config.sort }}/{{ .Config.type }}/{{ end }}"
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{ .Config.sort }}/{{ .Config.type }}/{{ else }}download/movies/{{ end }}"
|
||||
- path: "{{ if .Keywords }}/{{ .Config.sort }}/{{ .Config.type }}/{{ else }}download/tv/{{ end }}"
|
||||
|
||||
rows:
|
||||
selector: tr:has(td.m)
|
||||
|
|
Loading…
Reference in New Issue