From 23297c7c546e17dbdd0474d291f127e44067a53f Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 31 Jan 2022 17:36:16 +1300 Subject: [PATCH] puurhollands: drop cookie method #9775 --- .../Definitions/puurhollands.yml | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/puurhollands.yml b/src/Jackett.Common/Definitions/puurhollands.yml index cff8d279a..dc979f30a 100644 --- a/src/Jackett.Common/Definitions/puurhollands.yml +++ b/src/Jackett.Common/Definitions/puurhollands.yml @@ -23,13 +23,12 @@ caps: music-search: [q, artist] settings: - - name: cookie + - name: username 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.
" + label: Username + - name: password + type: password + label: Password - name: thankyou type: text label: Thank You Comment @@ -39,9 +38,15 @@ settings: default: This site requires you to leave a Thank You comment before you can download. Enter your personalised comment above. login: - method: cookie + path: login.php + method: form + form: form[action="takelogin.php"] inputs: - cookie: "{{ .Config.cookie }}" + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + returnto: "/" + error: + - selector: td.embedded:contains("fout") test: path: index.php selector: a[href="logout.php"]