mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 21:54:51 +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:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q]
|
movie-search: [q, imdbid]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site (Only works for searches with Keywords)
|
label: Sort requested from site
|
||||||
default: -a
|
default: -a
|
||||||
options:
|
options:
|
||||||
-a: created desc
|
-a: created desc
|
||||||
|
@ -54,7 +54,7 @@ download:
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
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:
|
rows:
|
||||||
selector: table > tbody > tr
|
selector: table > tbody > tr
|
||||||
|
|
Loading…
Add table
Reference in a new issue