diff --git a/src/Jackett.Common/Definitions/cinemamovies.yml b/src/Jackett.Common/Definitions/cinemamovies.yml index d977c7693..9f88ca459 100644 --- a/src/Jackett.Common/Definitions/cinemamovies.yml +++ b/src/Jackett.Common/Definitions/cinemamovies.yml @@ -31,9 +31,9 @@ - {id: 21, cat: Books, desc: "Book"} modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] + search: [q, imdbid] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] settings: - name: cookie @@ -67,17 +67,19 @@ test: path: index.php selector: a[href^="/logout.php"] - + search: paths: - path: browse.php inputs: $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 incldead: 1 # 0 title 1 descr - blah: 0 + blah: "{{ if .Query.IMDBID }}1{{else}}0{{end}}" + gatunek: 0 + quality: none sort: "{{ .Config.sort }}" type: "{{ .Config.type }}" @@ -98,13 +100,17 @@ attribute: href download: selector: a[href^="download.php/"] - attribute: href + attribute: href banner: selector: a[href^="details.php?id="] attribute: onmouseover filters: - name: regexp args: "src=(.+?) " + imdb: + optional: true + selector: a[href*="www.imdb.com/title/tt"] + attribute: href description: optional: true selector: img[src="pic/Poland.png"]