mirror of https://github.com/Jackett/Jackett
torrentgalaxy : add imdbid search (#13078)
This commit is contained in:
parent
8b5ef12567
commit
b5f457e06f
|
@ -75,8 +75,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]
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ search:
|
||||||
path: torrents.php
|
path: torrents.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 }}"
|
||||||
lang: 0
|
lang: 0
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
order: "{{ .Config.type }}"
|
order: "{{ .Config.type }}"
|
||||||
|
@ -157,6 +157,12 @@ search:
|
||||||
magnet:
|
magnet:
|
||||||
selector: div a[href^="magnet:?"]
|
selector: div a[href^="magnet:?"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
imdbid:
|
||||||
|
selector: a[href^="/torrents.php?search=tt"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: tt(\d+)
|
||||||
size:
|
size:
|
||||||
selector: div span[style^="border-radius"]
|
selector: div span[style^="border-radius"]
|
||||||
seeders:
|
seeders:
|
||||||
|
|
Loading…
Reference in New Issue