From f17b9dbc215c1b308ba27c03e3dc38657949eda7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 2 Nov 2020 22:02:00 +1300 Subject: [PATCH] trezzor: switch to cookie method. resolves #10071 --- src/Jackett.Common/Definitions/trezzor.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/Jackett.Common/Definitions/trezzor.yml b/src/Jackett.Common/Definitions/trezzor.yml index ecbf2e025..6ea1877b5 100644 --- a/src/Jackett.Common/Definitions/trezzor.yml +++ b/src/Jackett.Common/Definitions/trezzor.yml @@ -49,15 +49,19 @@ caps: music-search: [q] book-search: [q] +settings: + - name: cookie + type: text + label: Cookie + - name: info + 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.
" + login: - path: prihlasenie.php - method: form - form: form[action^="prihlasenie.php"] + method: cookie inputs: - uid: "{{ .Config.username }}" - pwd: "{{ .Config.password }}" - error: - - selector: div > font:contains("V pripade problemov kontaktujte") + cookie: "{{ .Config.cookie }}" test: path: torrents.php