mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
magnetdl: fix search tests for Sonarr et al (#8227)
This commit is contained in:
@@ -58,9 +58,10 @@
|
||||
args: [" ", "-"]
|
||||
- name: tolower
|
||||
paths:
|
||||
# return movie results if there are no search parms supplied (for use with the TEST button)
|
||||
# return results for 'of' if there are no search parms supplied (for use with the TEST button)
|
||||
# http://www.magnetdl.com/m/midnight-texas-s01e10/
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}o/of/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}o/of/{{end}}{{ .Config.sort }}/{{ .Config.type }}/2/"
|
||||
|
||||
rows:
|
||||
selector: tr:has(td.m)
|
||||
|
Reference in New Issue
Block a user