From 2920caf7c036598094f96f1dddbc47b819b06a27 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 19 Mar 2020 21:01:50 +1300 Subject: [PATCH] film-paleis: add imdbid search. #4859 also add banner add freeleech DLVF --- src/Jackett.Common/Definitions/film-paleis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/film-paleis.yml b/src/Jackett.Common/Definitions/film-paleis.yml index 7777de138..4ab7b59b6 100644 --- a/src/Jackett.Common/Definitions/film-paleis.yml +++ b/src/Jackett.Common/Definitions/film-paleis.yml @@ -35,9 +35,9 @@ - {id: 32, cat: Audio/Audiobook, desc: " Luister Boeken"} 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: username @@ -83,8 +83,9 @@ - path: browse.php inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ .Keywords }}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" incldead: 1 + # does not return imdb link in results rows: selector: table.mainouter @@ -106,6 +107,9 @@ download: selector: a[href^="details.php?id="] attribute: href + banner: + selector: img[src*="/covers/"] + attribute: src size: selector: td:nth-child(4) table tr td:nth-child(2) filters: @@ -163,7 +167,9 @@ optional: true selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font font b downloadvolumefactor: - text: 0 + case: + img[src="pic/freedlfsu.gif"]: 0 + "*": 1 uploadvolumefactor: text: 1 # engine n/a