diff --git a/src/Jackett.Common/Definitions/torrenthr.yml b/src/Jackett.Common/Definitions/torrenthr.yml index 5e59ba370..510e3e988 100644 --- a/src/Jackett.Common/Definitions/torrenthr.yml +++ b/src/Jackett.Common/Definitions/torrenthr.yml @@ -38,8 +38,8 @@ 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] @@ -61,7 +61,9 @@ search: - path: browse.php inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ .Keywords }}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" + # 0 name, 1 descr, 2 both + blah: "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}" incldead: 1 sort: 4 type: desc