1
0
Fork 0
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:
ilike2burnthing 2023-09-30 18:21:46 +01:00 committed by GitHub
parent bacd745a68
commit a857b22348
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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