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