efectodoppler: add freeleech filter #9456

This commit is contained in:
Garfield69 2020-09-11 21:52:37 +12:00
parent 38ba3c6a3e
commit bb835b2907
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,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
@ -65,6 +69,8 @@ search:
groupname: "{{ .Query.Album }}"
order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}"
# 1 gold, 2 neutral, 3 other, 0 normal
freetorrent: "{{ if .Config.freeleech }}3{{ else }}{{ end }}"
rows:
selector: tr.torrent