mirror of https://github.com/Jackett/Jackett
cinemamovies: add imdb search. #4859
This commit is contained in:
parent
22a5f46276
commit
15841e26a8
|
@ -31,9 +31,9 @@
|
||||||
- {id: 21, cat: Books, desc: "Book"}
|
- {id: 21, cat: Books, desc: "Book"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q, imdbid]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q]
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: cookie
|
- name: cookie
|
||||||
|
@ -73,11 +73,13 @@
|
||||||
- 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 onlyactive 1 all 4 requests 5 onlydead 6 polish 8 free 10 doubleup 11 premier 13 VOD
|
# 0 onlyactive 1 all 4 requests 5 onlydead 6 polish 8 free 10 doubleup 11 premier 13 VOD
|
||||||
incldead: 1
|
incldead: 1
|
||||||
# 0 title 1 descr
|
# 0 title 1 descr
|
||||||
blah: 0
|
blah: "{{ if .Query.IMDBID }}1{{else}}0{{end}}"
|
||||||
|
gatunek: 0
|
||||||
|
quality: none
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
@ -105,6 +107,10 @@
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "src=(.+?) "
|
args: "src=(.+?) "
|
||||||
|
imdb:
|
||||||
|
optional: true
|
||||||
|
selector: a[href*="www.imdb.com/title/tt"]
|
||||||
|
attribute: href
|
||||||
description:
|
description:
|
||||||
optional: true
|
optional: true
|
||||||
selector: img[src="pic/Poland.png"]
|
selector: img[src="pic/Poland.png"]
|
||||||
|
|
Loading…
Reference in New Issue