mirror of
https://github.com/Jackett/Jackett
synced 2024-12-22 15:57:50 +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:
|
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]
|
||||||
|
|
||||||
|
@ -61,7 +61,9 @@ search:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$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
|
incldead: 1
|
||||||
sort: 4
|
sort: 4
|
||||||
type: desc
|
type: desc
|
||||||
|
|
Loading…
Reference in a new issue