mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 13:52:03 +00:00
therarbg: fix imdbid search and allow keywordless category and order filtering
This commit is contained in:
parent
bacd745a68
commit
a857b22348
1 changed files with 4 additions and 4 deletions
|
@ -29,15 +29,15 @@ caps:
|
|||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
tv-search: [q, season, ep, imdbid]
|
||||
movie-search: [q, imdbid]
|
||||
music-search: [q]
|
||||
book-search: [q]
|
||||
|
||||
settings:
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site (Only works for searches with Keywords)
|
||||
label: Sort requested from site
|
||||
default: -a
|
||||
options:
|
||||
-a: created desc
|
||||
|
@ -54,7 +54,7 @@ download:
|
|||
|
||||
search:
|
||||
paths:
|
||||
- path: "{{ if or .Keywords .Query.IMDBID }}/get-posts/keywords:{{ or .Keywords .Query.IMDBID }}{{ range .Categories }}:category:{{.}}{{end}}:order:{{ .Config.sort }}{{ else }}{{ end }}"
|
||||
- path: "get-posts/order:{{ .Config.sort }}{{ range .Categories }}:category:{{.}}{{end}}{{ if or .Query.IMDBID .Keywords }}:keywords:{{ or .Query.IMDBID .Keywords }}{{ else }}{{ end }}/"
|
||||
|
||||
rows:
|
||||
selector: table > tbody > tr
|
||||
|
|
Loading…
Add table
Reference in a new issue