mirror of
https://github.com/Jackett/Jackett
synced 2024-12-21 23:33:18 +00:00
torrenthr: imdb search support (#15761)
This commit is contained in:
parent
886084fb6d
commit
f8f7684c82
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue