Skip to content

Commit

Permalink
torrentbd: add freeleech filter #9456
Browse files Browse the repository at this point in the history
add minimumratio and minimumseedtime
  • Loading branch information
garfield69 committed Sep 15, 2020
1 parent deb47a8 commit dc3176f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/Jackett.Common/Definitions/torrentbd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,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: Search freeleech only
default: false

login:
method: cookie
Expand All @@ -113,12 +116,12 @@ search:
page: 1
origin: home
sortBy: ""
order: ""
query: "{{ .Keywords }}"
fl: false
fl: "{{ if .Config.freeleech }}true{{ else }}false{{ end }}"
# internal
intris: false
# activeonly
active: false
categories: ""
spcat: ""

rows:
Expand Down Expand Up @@ -168,4 +171,9 @@ search:
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 0.5
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# engine n/a

0 comments on commit dc3176f

Please sign in to comment.