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
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -70,8 +74,8 @@ search:
|
||||||
args: ["(?i)(\\bS0*\\d+E0*\\d+\\b)", ""]
|
args: ["(?i)(\\bS0*\\d+E0*\\d+\\b)", ""]
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
# 0 active 1 incldead 2 onlydead 3 gold 4 noseeds 5 paid
|
# 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseeds, 5 paid
|
||||||
incldead: 1
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
|
@ -129,8 +133,10 @@ search:
|
||||||
date:
|
date:
|
||||||
selector: span:has(i.fa-calendar-o)
|
selector: span:has(i.fa-calendar-o)
|
||||||
filters:
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +03:00" # MSK
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006.1.2"
|
args: "2006.1.2 -07:00"
|
||||||
files:
|
files:
|
||||||
selector: span:has(i.fa-files-o)
|
selector: span:has(i.fa-files-o)
|
||||||
size:
|
size:
|
||||||
|
@ -142,7 +148,12 @@ search:
|
||||||
leechers:
|
leechers:
|
||||||
selector: span:has(i.fa-download)
|
selector: span:has(i.fa-download)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 0
|
case:
|
||||||
|
"span:contains(\"Золотой\")": 0
|
||||||
|
"span:contains(\"Серебряный\")": 0.5
|
||||||
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
# TBDev
|
# TBDev
|
||||||
|
|
Loading…
Reference in New Issue