From 40e821be1abe08bc4c01b8dfdc0e5750e92e830c Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 12 Sep 2020 18:52:24 +1200 Subject: [PATCH] hellastz: add freeleech filter #9456 --- src/Jackett.Common/Definitions/hellastz.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/hellastz.yml b/src/Jackett.Common/Definitions/hellastz.yml index 55cdae370..0d4decdb0 100644 --- a/src/Jackett.Common/Definitions/hellastz.yml +++ b/src/Jackett.Common/Definitions/hellastz.yml @@ -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: