mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-30 15:38:38 +02:00
torrentquest: fix keywordless search
sorting movies or tv by age results in 404 error
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user