From cfa10d0798f6ff4069e125770d4bdcd18e2bf31a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 1 May 2022 16:58:21 +1200 Subject: [PATCH] hdgalaktik: switch to cookie method. #13186 --- src/Jackett.Common/Definitions/hdgalaktik.yml | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/Jackett.Common/Definitions/hdgalaktik.yml b/src/Jackett.Common/Definitions/hdgalaktik.yml index ed49a6eaa..cc39b3251 100644 --- a/src/Jackett.Common/Definitions/hdgalaktik.yml +++ b/src/Jackett.Common/Definitions/hdgalaktik.yml @@ -33,12 +33,13 @@ caps: book-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: freeleech type: checkbox label: Search freeleech only @@ -69,16 +70,9 @@ settings: default: For best results, change the Torrents per page: setting to 100 on your account profile. login: - path: takelogin.php - method: post + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: div.error - - selector: pre.captcha - message: - text: The username may not exist or the password may not have been entered. + cookie: "{{ .Config.cookie }}" test: path: / selector: a[href="mybonus.php"]