From 0ece97e46f6a2ce81430802f67b238dd9bfa3a6a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 2 Oct 2020 07:27:19 +1300 Subject: [PATCH] hachede: add freeleech filter #9456 --- src/Jackett.Common/Definitions/hachede.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/hachede.yml b/src/Jackett.Common/Definitions/hachede.yml index a60c7506b..41d3b778c 100644 --- a/src/Jackett.Common/Definitions/hachede.yml +++ b/src/Jackett.Common/Definitions/hachede.yml @@ -115,7 +115,10 @@ settings: type: info label: How to get the Cookie default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" - + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false - name: sort type: select label: Sort requested from site @@ -157,7 +160,7 @@ search: "sortOptions[sortOrder]": "{{ .Config.type }}" rows: - selector: table#torrents_table_classic > tbody > tr:not(:first-child), .torrent-box[id^="torrent_"] + selector: "table#torrents_table_classic > tbody > tr:not(:first-child), .torrent-box[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}" fields: category: