mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
matrix: posters are back
add verified to poster description show only active I'm getting strange results with incldead %-/ site is WIP
This commit is contained in:
@@ -106,7 +106,7 @@ search:
|
|||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# 0 active only, 1 include dead, 2 only dead, 3 free, 4 double
|
# 0 active only, 1 include dead, 2 only dead, 3 free, 4 double
|
||||||
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
incldead: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
@@ -129,6 +129,12 @@ search:
|
|||||||
text: "details.php?id={{ .Result._id }}"
|
text: "details.php?id={{ .Result._id }}"
|
||||||
download:
|
download:
|
||||||
text: "download.php?id={{ .Result._id }}"
|
text: "download.php?id={{ .Result._id }}"
|
||||||
|
poster:
|
||||||
|
selector: a[onmouseover]
|
||||||
|
attribute: onmouseover
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: \\\'(.+?)\\
|
||||||
imdbid:
|
imdbid:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -147,13 +153,18 @@ search:
|
|||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(7)
|
||||||
|
_verified:
|
||||||
|
selector: span.torrent-ok, span.torrent-unchecked
|
||||||
|
case:
|
||||||
|
span.torrent-ok: Verified
|
||||||
|
span.torrent-unchecked: Unchecked
|
||||||
genre:
|
genre:
|
||||||
selector: td:nth-child(2) > div > i.small
|
selector: td:nth-child(2) > div > i.small
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "\\((.+)\\)"
|
args: "\\((.+)\\)"
|
||||||
description:
|
description:
|
||||||
text: "{{ .Result.genre }}"
|
text: "{{ .Result._verified }} - {{ .Result.genre }}"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
span.text-red:contains("[x0]"): 0
|
span.text-red:contains("[x0]"): 0
|
||||||
|
Reference in New Issue
Block a user