4thd: add freeleech filter #9456

untested
This commit is contained in:
Garfield69 2020-09-19 16:22:09 +12:00
parent 2656d5c12d
commit 9b31e9cf29
1 changed files with 6 additions and 3 deletions

View File

@ -47,6 +47,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
@ -86,7 +90,7 @@ search:
order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}"
# 0 all 1 onlyfree
filter_freeleech: 0
filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
title: "{{ .Keywords }}"
search_type: 1
taglist: ""
@ -140,6 +144,5 @@ search:
img[src$="/freedownload.gif"]: 0
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
# Engine n/a