hellastz: add freeleech filter #9456

This commit is contained in:
Garfield69 2020-09-12 18:52:24 +12:00
parent 197b8ddfc9
commit 40e821be1a
1 changed files with 5 additions and 1 deletions

View File

@ -46,6 +46,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
@ -104,7 +108,7 @@ search:
# does not support imdbid search and does not ruturn imdb link in results
rows:
selector: table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="])
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[alt=\"Gold 100% Free\"]){{ else }}{{ end }}"
fields:
category: