From 9e9cd5e3c419dd0292da0d5198bfe0cf537cbddd Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 15 Sep 2020 10:41:20 +1200 Subject: [PATCH] teamos: add freeleech filter #9456 add minimumratio --- src/Jackett.Common/Definitions/teamos.yml | 26 +++++++++-------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/src/Jackett.Common/Definitions/teamos.yml b/src/Jackett.Common/Definitions/teamos.yml index ad8defc8e..1df2d4c0f 100644 --- a/src/Jackett.Common/Definitions/teamos.yml +++ b/src/Jackett.Common/Definitions/teamos.yml @@ -104,19 +104,11 @@ 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: -# path: login/login -# method: post -# inputs: -# login: "{{ .Config.username }}" -# password: "{{ .Config.password }}" -# remember: 1 -# error: -# - selector: div.blockMessage--error -# test: -# path: / -# selector: a[href="/account/"] login: method: cookie inputs: @@ -128,10 +120,10 @@ login: search: paths: # 25 results per page - - path: "torrents/?filename={{ .Keywords }}" - - path: "torrents/?filename={{ .Keywords }}&page=2" - - path: "torrents/?filename={{ .Keywords }}&page=3" - - path: "torrents/?filename={{ .Keywords }}&page=4" + - path: "torrents/?filename={{ .Keywords }}&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}" + - path: "torrents/?filename={{ .Keywords }}&page=2&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}" + - path: "torrents/?filename={{ .Keywords }}&page=3&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}" + - path: "torrents/?filename={{ .Keywords }}&page=4&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}" rows: selector: tr.dataList-row:has(td.download) @@ -168,4 +160,6 @@ search: "*": 1 uploadvolumefactor: text: 1 + minimumratio: + text: 0.4 # engine n/a