mirror of https://github.com/Jackett/Jackett
xwtclassics: add freeleech filter #9456
add minimumratio and minimumseedtime
This commit is contained in:
parent
0e3067aa37
commit
ed238bc329
|
@ -36,6 +36,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: seedbox
|
- name: seedbox
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: "Use SeedBox Download Link"
|
label: "Use SeedBox Download Link"
|
||||||
|
@ -81,7 +85,8 @@ search:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
incldead: 1
|
# 0 active, 1 incldead, 2 onlydead, 3 freleech
|
||||||
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
@ -134,4 +139,9 @@ search:
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
|
minimumratio:
|
||||||
|
text: 0.7
|
||||||
|
minimumseedtime:
|
||||||
|
# 1 day (as seconds = 24 x 60 x 60)
|
||||||
|
text: 86400
|
||||||
# engine n/a
|
# engine n/a
|
||||||
|
|
Loading…
Reference in New Issue