From 5739b9adff1e59c3b6c6ed63b5753cb44f674bef Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 20 Jan 2023 04:46:42 +0200 Subject: [PATCH] 720pier: add user-agent to fix expired session issue (#13920) resolves #10643 --- src/Jackett.Common/Definitions/pier720.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/pier720.yml b/src/Jackett.Common/Definitions/pier720.yml index fcc1b5d12..902f78ea3 100644 --- a/src/Jackett.Common/Definitions/pier720.yml +++ b/src/Jackett.Common/Definitions/pier720.yml @@ -86,10 +86,17 @@ settings: - name: cookie type: text label: Cookie - - name: info + - 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.
" + - name: useragent + type: text + label: User-Agent + - name: info_useragent + type: info + label: How to get the User-Agent + default: "
  1. From the same place you fetched the cookie,
  2. Find 'user-agent:' in the Request Headers section
  3. Select and Copy the whole user-agent string (everything after 'user-agent: ') and Paste here.
" - name: sort type: select label: Sort requested from site @@ -121,6 +128,8 @@ download: attribute: href search: + headers: + User-Agent: ["{{ .Config.useragent }}"] paths: - path: search.php inputs: