1
0
Fork 0
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:
Bogdan 2024-12-22 00:00:31 +02:00 committed by GitHub
parent 886084fb6d
commit f8f7684c82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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