From 193f5db93090181255ea835447f013371f310975 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 11 Sep 2020 21:01:24 +1200 Subject: [PATCH] divteam: add freeleech filter #9456 --- src/Jackett.Common/Definitions/divteam.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/divteam.yml b/src/Jackett.Common/Definitions/divteam.yml index bedb4ef2e..db9445875 100644 --- a/src/Jackett.Common/Definitions/divteam.yml +++ b/src/Jackett.Common/Definitions/divteam.yml @@ -65,7 +65,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 - name: sort type: select label: Sort requested from site @@ -99,13 +102,13 @@ search: # https://divteam.com/index.php?page=torrents&search=daredevil&category=20;23;31;65;64;60;63;69;70;71;72;73;74;75;76;77;78;80;81;82;83;84&active=1 - path: index.php inputs: - page: "torrents" + page: torrents category: "{{ range .Categories }}{{.}};{{end}}" search: "{{ .Keywords }}" - # 0 all 1 activeonly 2 deadonly + # 0 all, 1 activeonly, 2 deadonly active: 0 - # 0 title 1 title&desc 2 descr 3 uploaders 5 gold 6 silver 9 2x 10 3x 11 4x - options: 0 + # 0 title, 1 title&desc, 2 descr, 3 uploaders, 5 gold, 6 silver, 9 2x, 10 3x, 11 4x, 12 5x + options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}" order: "{{ .Config.sort }}" by: "{{ .Config.type }}" # does not support imdbid search and does not supply imdb link in results.