From 6014b0d545a90c4c5805e9ae7a5f4e3f6cc52a2a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 31 Jan 2022 17:40:23 +1300 Subject: [PATCH] ebookparadijs: drop cookie method. #5726 --- .../Definitions/ebookparadijs.yml | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/ebookparadijs.yml b/src/Jackett.Common/Definitions/ebookparadijs.yml index 2c038d8eb..cb249b237 100644 --- a/src/Jackett.Common/Definitions/ebookparadijs.yml +++ b/src/Jackett.Common/Definitions/ebookparadijs.yml @@ -44,13 +44,12 @@ caps: book-search: [q] settings: - - name: cookie + - name: username type: text - label: Cookie - - name: info_cookie - 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: freeleech type: checkbox label: Filter freeleech only @@ -64,9 +63,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: / selector: a[href="logout.php"]