carphunter: add genre to results

This commit is contained in:
Garfield69
2022-07-31 12:26:34 +12:00
parent c820ebca00
commit 790bbec2e3

View File

@@ -100,6 +100,7 @@ search:
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
# does not support imdbid searches
# can support genre searching but you need to know the id, eg &genre2=1 for Comedy (id is 2)
rows:
selector: table[width="920px"] > tbody > tr:has(a[href^="letoltes.php?cat="])
@@ -126,6 +127,11 @@ search:
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href
genre:
selector: i
optional: true
description:
text: "{{ .Result.genre }}"
poster:
selector: a[onmouseover]
attribute: onmouseover