From 3b563c1bbb2e81f7232d2f7bc10abf7988b6b834 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 25 Jun 2020 16:12:37 +1200 Subject: [PATCH] crazyhd: switch to cookie method #9022 --- src/Jackett.Common/Definitions/crazyhd.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/Jackett.Common/Definitions/crazyhd.yml b/src/Jackett.Common/Definitions/crazyhd.yml index 074d9b2f1..e0e4b4ed0 100644 --- a/src/Jackett.Common/Definitions/crazyhd.yml +++ b/src/Jackett.Common/Definitions/crazyhd.yml @@ -86,12 +86,14 @@ caps: music-search: [q] settings: - - name: username + - name: cookie type: text - label: Username - - name: password - type: password - label: Password + 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.
" + - name: sort type: select label: Sort requested from site @@ -110,13 +112,9 @@ settings: "1": "asc" login: - path: index.php?page=login - method: post + method: cookie inputs: - uid: "{{ .Config.username }}" - pwd: "{{ .Config.password }}" - error: - - selector: tr td span[style="color:#FF0000;"] + cookie: "{{ .Config.cookie }}" test: path: index.php selector: a[href="logout.php"]