Skip to content

Commit

Permalink
hachede: add freeleech filter #9456
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Oct 1, 2020
1 parent 0da46f4 commit 0ece97e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Jackett.Common/Definitions/hachede.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ settings:
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"

- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0ece97e

Please sign in to comment.