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"} - {id: 32, cat: Audio/Audiobook, desc: " Luister Boeken"}
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: username - name: username
@ -83,8 +83,9 @@
- 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}}"
incldead: 1 incldead: 1
# does not return imdb link in results
rows: rows:
selector: table.mainouter selector: table.mainouter
@ -106,6 +107,9 @@
download: download:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: href attribute: href
banner:
selector: img[src*="/covers/"]
attribute: src
size: size:
selector: td:nth-child(4) table tr td:nth-child(2) selector: td:nth-child(4) table tr td:nth-child(2)
filters: filters:
@ -163,7 +167,9 @@
optional: true optional: true
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font font b selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font font b
downloadvolumefactor: downloadvolumefactor:
text: 0 case:
img[src="pic/freedlfsu.gif"]: 0
"*": 1
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# engine n/a # engine n/a