rgfootball: add freeleech filter. #9456

This commit is contained in:
Garfield69 2023-03-30 20:27:42 +13:00
parent cc064beb43
commit f5a36e98c8
1 changed files with 5 additions and 3 deletions

View File

@ -505,6 +505,10 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: ignorevip
type: checkbox
label: Ignore VIP torrents
@ -575,11 +579,9 @@ search:
# -1=all time
tm: -1
nm: "{{ .Keywords }}"
# find a username
pn: ""
rows:
selector: "tr[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"]){{ if .Config.ignorevip }}:not(:has(a.gen:contains(\"VIP\"))){{ else }}{{ end }}"
selector: "tr[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"]){{ if .Config.ignorevip }}:not(:has(a.gen:contains(\"VIP\"))){{ else }}{{ end }}{{ if .Config.freeleech }}:has(img[src=\"images/tor_gold.gif\"]){{ else }}{{ end }}"
fields:
category: