mirror of https://github.com/Jackett/Jackett
whiteangel: add genre results
This commit is contained in:
parent
93a7b8c581
commit
04e6507d84
|
@ -103,6 +103,7 @@ search:
|
||||||
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
# can search by genre but you need the id. &description=8 for Drama.
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table[cellpadding="5"] tbody tr:has(a[href^="download.php?torrent="])
|
selector: table[cellpadding="5"] tbody tr:has(a[href^="download.php?torrent="])
|
||||||
|
@ -143,6 +144,13 @@ search:
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php?torrent="]
|
selector: a[href^="download.php?torrent="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
genre:
|
||||||
|
selector: font[color="#C0C0C0"]
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["\xA0", ""]
|
||||||
|
description:
|
||||||
|
text: "{{ .Result.genre }}"
|
||||||
imdbid:
|
imdbid:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in New Issue