From dc3176f28ffa7bfbb39cc034484f94dcb0dc1650 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 15 Sep 2020 15:47:52 +1200 Subject: [PATCH] torrentbd: add freeleech filter #9456 add minimumratio and minimumseedtime --- src/Jackett.Common/Definitions/torrentbd.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentbd.yml b/src/Jackett.Common/Definitions/torrentbd.yml index b2f757eea..4f9306c91 100644 --- a/src/Jackett.Common/Definitions/torrentbd.yml +++ b/src/Jackett.Common/Definitions/torrentbd.yml @@ -95,7 +95,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: Search freeleech only + default: false login: method: cookie @@ -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: @@ -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