mirror of https://github.com/Jackett/Jackett
theshinning: add kids category
also handle banners if present and adjustments for discounts
This commit is contained in:
parent
3206d3350d
commit
ad281585f2
|
@ -20,6 +20,7 @@
|
||||||
- {id: 5, cat: PC, desc: "Apps"}
|
- {id: 5, cat: PC, desc: "Apps"}
|
||||||
- {id: 6, cat: Other, desc: "Misc"}
|
- {id: 6, cat: Other, desc: "Misc"}
|
||||||
- {id: 7, cat: XXX, desc: "XXX"}
|
- {id: 7, cat: XXX, desc: "XXX"}
|
||||||
|
- {id: 8, cat: Movies, desc: "Kids"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -56,6 +57,7 @@
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
|
$raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
|
||||||
search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
|
||||||
|
description: ""
|
||||||
uploader: ""
|
uploader: ""
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
imdb: "{{ .Query.IMDBIDShort }}"
|
||||||
tvdb: ""
|
tvdb: ""
|
||||||
|
@ -81,17 +83,24 @@
|
||||||
details:
|
details:
|
||||||
selector: a.view-torrent
|
selector: a.view-torrent
|
||||||
attribute: href
|
attribute: href
|
||||||
|
banner:
|
||||||
|
optional: true
|
||||||
|
selector: div.torrent-poster img
|
||||||
|
attribute: src
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["https://via.placeholder.com/600x900/212121/FFFFFF/?text=NOCOVER", ""]
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-last-child(4)
|
||||||
seeders:
|
|
||||||
selector: td:nth-child(7)
|
|
||||||
leechers:
|
|
||||||
selector: td:nth-child(8)
|
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-last-child(3)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: ([\d\.]+)
|
args: ([\d\.]+)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-last-child(2)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-last-child(1)
|
||||||
date:
|
date:
|
||||||
selector: time
|
selector: time
|
||||||
filters:
|
filters:
|
||||||
|
@ -120,12 +129,14 @@
|
||||||
args: [" (ay|kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden)", "months"]
|
args: [" (ay|kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden)", "months"]
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"i[data-original-title=\"100% Free\"]": "0" # Single Torrent Freeleech
|
"i[data-original-title=\"Freeleech\"]": "0" # Freeleech
|
||||||
"i[data-original-title=\"Global freeleech\"]": "0" # Global Freeleech
|
"i[data-original-title=\"Global freeleech\"]": "0" # Global Freeleech
|
||||||
|
"i[data-original-title=\"Featured\"]": "0" # Featured
|
||||||
"*": "1"
|
"*": "1"
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"i[data-original-title=\"Double upload\"]": "2" # Single Torrent Double Upload
|
"i[data-original-title=\"Double upload\"]": "2" # Single Torrent Double Upload
|
||||||
"i[data-original-title=\"Double Upload\"]": "2" # Global Double Upload
|
"i[data-original-title=\"Double Upload\"]": "2" # Global Double Upload
|
||||||
|
"i[data-original-title=\"Featured\"]": "2" # Featured
|
||||||
"*": "1"
|
"*": "1"
|
||||||
# UNIT3D
|
# UNIT3D
|
||||||
|
|
Loading…
Reference in New Issue