mma-torrents: add freeleech filter #9456

untested
This commit is contained in:
Garfield69 2020-09-19 14:24:23 +12:00
parent 1ea135e19b
commit a9f9051d16
1 changed files with 5 additions and 1 deletions

View File

@ -72,6 +72,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
@ -111,7 +115,7 @@ search:
incldead: 1
lang: 0
# 0 all 1 notfree 2 onlyfree
freeleech: 0
freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
order: "{{ .Config.type }}"