learnbits: add filter freeleech. #9456

This commit is contained in:
Garfield69 2023-03-30 05:20:25 +13:00
parent 7a3453ef4a
commit 26b38d5d55
1 changed files with 5 additions and 1 deletions

View File

@ -100,6 +100,10 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
@ -151,7 +155,7 @@ search:
orderby: "{{ .Config.type }}"
rows:
selector: div#showcontents > table > tbody > tr:has(a[href])
selector: "div#showcontents > table > tbody > tr:has(a[href]){{ if .Config.freeleech }}:has(img[src$=\"freedownload.gif\"]){{ else }}{{ end }}"
fields:
category: