mirror of
https://github.com/Jackett/Jackett
synced 2025-03-11 14:44:46 +00:00
torrentmasters: add genre result
This commit is contained in:
parent
8e0aeecb91
commit
fddfd7b4f0
1 changed files with 11 additions and 1 deletions
|
@ -104,10 +104,12 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
cat: 0
|
cat: 0
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
|
# 0 active, 1 active+idead, 2 dead, 3 free, 4 x2, 5 waiting for seed, 6 my torrents, 7 requested
|
||||||
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 }}"
|
||||||
# does not support imdbid searches
|
# does not support imdbid searches
|
||||||
|
# can support genre, but you need the id. &mufaj[]=14 for Horror
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody#linkhatter > tr:nth-child(1)
|
selector: table > tbody#linkhatter > tr:nth-child(1)
|
||||||
|
@ -128,8 +130,11 @@ search:
|
||||||
download:
|
download:
|
||||||
selector: a[href^="torrent_adatok.php?id="]
|
selector: a[href^="torrent_adatok.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
description:
|
hungarian_title:
|
||||||
selector: td:nth-child(3) font[color="gray"]
|
selector: td:nth-child(3) font[color="gray"]
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["| ", ""]
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5) nobr
|
selector: td:nth-child(5) nobr
|
||||||
remove: font
|
remove: font
|
||||||
|
@ -163,6 +168,11 @@ search:
|
||||||
case:
|
case:
|
||||||
"font[color=\"#01DF01\"]": 2
|
"font[color=\"#01DF01\"]": 2
|
||||||
"*": 1
|
"*": 1
|
||||||
|
genre:
|
||||||
|
selector: td:nth-child(3)
|
||||||
|
remove: a, font
|
||||||
|
description:
|
||||||
|
text: "{{ .Result.hungarian_title }}{{ if and .Result.hungarian_title .Result.genre }}<br>{{ else }}{{ end }}{{ .Result.genre }}"
|
||||||
minimumratio:
|
minimumratio:
|
||||||
text: 0.5
|
text: 0.5
|
||||||
minimumseedtime:
|
minimumseedtime:
|
||||||
|
|
Loading…
Add table
Reference in a new issue