From 3c09866dc2df79890f6ed65ac807c982546253c0 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 5 Nov 2020 15:33:52 +1300 Subject: [PATCH] pier720: switch to cookie method --- src/Jackett.Common/Definitions/pier720.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/Jackett.Common/Definitions/pier720.yml b/src/Jackett.Common/Definitions/pier720.yml index 4d2c49a82..3063b99d9 100644 --- a/src/Jackett.Common/Definitions/pier720.yml +++ b/src/Jackett.Common/Definitions/pier720.yml @@ -73,12 +73,13 @@ caps: tv-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 @@ -97,16 +98,9 @@ settings: a: asc login: - path: ucp.php?mode=login - method: form - form: form#login + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - autologin: on - viewonline: on - error: - - selector: fieldset:has(div.error) + cookie: "{{ .Config.cookie }}" test: path: / selector: :has(a[href^="./ucp.php?mode=logout&"])