1
0
Fork 0
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:
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:
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