mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +00:00
magnetdl: fix test. resolves #5470
for empty searches, the site has dropped the invalid-cat page, so we search for movies instead
This commit is contained in:
parent
2b59863409
commit
11e6e26c12
1 changed files with 1 additions and 2 deletions
|
@ -39,8 +39,7 @@
|
|||
paths:
|
||||
# return movie results if there are no search parms supplied (for use with the TEST button)
|
||||
# http://www.magnetdl.com/m/midnight-texas-s01e10/
|
||||
# using "invalid-cat" in the default case (empty keywords) causes no category limitation
|
||||
- path: "{{if .Keywords}}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/invalid-cat/{{end}}"
|
||||
- path: "{{if .Keywords}}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}"
|
||||
rows:
|
||||
selector: tr:has(td[class="m"])
|
||||
fields:
|
||||
|
|
Loading…
Reference in a new issue