mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
carphunter: add genre to results
This commit is contained in:
@@ -100,7 +100,8 @@ search:
|
|||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
# does not support imdbid searches
|
# 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:
|
rows:
|
||||||
selector: table[width="920px"] > tbody > tr:has(a[href^="letoltes.php?cat="])
|
selector: table[width="920px"] > tbody > tr:has(a[href^="letoltes.php?cat="])
|
||||||
|
|
||||||
@@ -126,6 +127,11 @@ search:
|
|||||||
imdbid:
|
imdbid:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
genre:
|
||||||
|
selector: i
|
||||||
|
optional: true
|
||||||
|
description:
|
||||||
|
text: "{{ .Result.genre }}"
|
||||||
poster:
|
poster:
|
||||||
selector: a[onmouseover]
|
selector: a[onmouseover]
|
||||||
attribute: onmouseover
|
attribute: onmouseover
|
||||||
|
Reference in New Issue
Block a user