mirror of
https://github.com/Jackett/Jackett
synced 2024-12-26 17:58:49 +00:00
magnetdl: fix keywordless search (#8838)
https://www.magnetdl.com/o/of/age/desc/ - 404 change to - https://www.magnetdl.com/2/2020/age/desc/ (or any year up to 2999) Tested, working
This commit is contained in:
parent
ce4eb2311e
commit
53108362d6
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ search:
|
|||
paths:
|
||||
# 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}}o/of/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}o/of/{{end}}{{ .Config.sort }}/{{ .Config.type }}/2/"
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}2/{{ .Today.Year }}/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
|
||||
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}2/{{ .Today.Year }}/{{end}}{{ .Config.sort }}/{{ .Config.type }}/2/"
|
||||
|
||||
rows:
|
||||
selector: tr:has(td.m)
|
||||
|
|
Loading…
Reference in a new issue