pleasuredome: add freeleech filter #9456

add minimumratio
This commit is contained in:
Garfield69 2020-09-14 15:56:34 +12:00
parent d103ce259c
commit 86b2870986
1 changed files with 8 additions and 2 deletions

View File

@ -76,6 +76,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
@ -112,8 +116,8 @@ search:
inputs:
search: "{{ .Keywords }}"
category: 0
# 0 all 1 activeonly 2 deadonly 3 freeonly 4 regularonly 5 disabled 6 ulbonus
active: 0
# 0 all 1, activeonly, 2 deadonly, 3 freeonly, 4 regularonly, 5 disabled, 6 ulbonus
active: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}"
sort: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
@ -165,4 +169,6 @@ search:
case:
img[src="images/2x.gif"]: 2
"*": 1
minimumratio:
text: 0.5
# BTI Tracker (customised)