film-paleis: add imdbid search. #4859

also add banner
add freeleech DLVF
This commit is contained in:
Garfield69 2020-03-19 21:01:50 +13:00
parent f73a047ed9
commit 2920caf7c0
1 changed files with 11 additions and 5 deletions

View File

@ -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