mirror of https://github.com/Jackett/Jackett
sdkino: add freeleech, date TZ, MR
and gold and silver coin detection
This commit is contained in:
parent
a65d4e341e
commit
1395ec95d8
|
@ -27,6 +27,10 @@ settings:
|
|||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
default: false
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
|
@ -70,8 +74,8 @@ search:
|
|||
args: ["(?i)(\\bS0*\\d+E0*\\d+\\b)", ""]
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
# 0 active 1 incldead 2 onlydead 3 gold 4 noseeds 5 paid
|
||||
incldead: 1
|
||||
# 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseeds, 5 paid
|
||||
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
search: "{{ .Keywords }}"
|
||||
|
@ -129,8 +133,10 @@ search:
|
|||
date:
|
||||
selector: span:has(i.fa-calendar-o)
|
||||
filters:
|
||||
- name: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "2006.1.2"
|
||||
args: "2006.1.2 -07:00"
|
||||
files:
|
||||
selector: span:has(i.fa-files-o)
|
||||
size:
|
||||
|
@ -142,7 +148,12 @@ search:
|
|||
leechers:
|
||||
selector: span:has(i.fa-download)
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
case:
|
||||
"span:contains(\"Золотой\")": 0
|
||||
"span:contains(\"Серебряный\")": 0.5
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
# TBDev
|
||||
|
|
Loading…
Reference in New Issue