mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
karagarga: rework genre and description (#13444)
This commit is contained in:
parent
2257b143c2
commit
74d9253493
1 changed files with 4 additions and 6 deletions
|
@ -134,18 +134,16 @@ search:
|
|||
_subs:
|
||||
selector: span:contains("Subs:")
|
||||
optional: true
|
||||
_genre:
|
||||
genre:
|
||||
selector: td:nth-child(5)
|
||||
optional: true
|
||||
filters:
|
||||
- name: prepend
|
||||
args: "Genre: "
|
||||
- name: replace
|
||||
args: ["\n", " "]
|
||||
_mom:
|
||||
selector: img[title^="CURRENT"]
|
||||
attribute: title
|
||||
optional: true
|
||||
description:
|
||||
text: "{{ .Result._subs }} {{ .Result._genre }}{{ if .Result._mom }} Current MoM{{ else }}{{ end }}"
|
||||
text: "{{ if .Result._subs }}Subs: {{ .Result._subs }}</br>{{ else }}{{ end }}{{ if .Result.genre }}Genre: {{ .Result.genre }}</br>{{ else }}{{ end }}{{ if .Result._mom }}Current MoM{{ else }}{{ end }}"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"span:contains(\"Freeleech\")": 0
|
||||
|
|
Loading…
Add table
Reference in a new issue