From c1fc63b8c64f83077695700b1db9dc83477210a6 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Mon, 30 Jan 2023 18:13:56 +0000 Subject: [PATCH] korsar: add useragent. resolves #13949 --- src/Jackett.Common/Definitions/korsar.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Jackett.Common/Definitions/korsar.yml b/src/Jackett.Common/Definitions/korsar.yml index 239a01cfe..8f1ad2a1e 100644 --- a/src/Jackett.Common/Definitions/korsar.yml +++ b/src/Jackett.Common/Definitions/korsar.yml @@ -439,6 +439,13 @@ settings: 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 @@ -464,6 +471,9 @@ login: path: index.php search: + headers: + User-Agent: ["{{ .Config.useragent }}"] + paths: # http://filbi1976.org/search.php?t=0&cs=1&cs_post=1&sc=1&keywords=&cs_where=title&cs_forb=&submit=Hand+Search&fid%5B%5D=0&cs_format=0&cs_year=0&cs_filter=0&sk=nt&sd=d&cs_private=0 - path: search.php