From c413f72db0756d5a1725d3e919dd257fa47f2b9e Mon Sep 17 00:00:00 2001
From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
Date: Fri, 30 Dec 2022 13:03:30 +0000
Subject: [PATCH] Update turktorrent.yml
---
src/Jackett.Common/Definitions/turktorrent.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/Jackett.Common/Definitions/turktorrent.yml b/src/Jackett.Common/Definitions/turktorrent.yml
index dc37e6133..bdff17fc5 100644
--- a/src/Jackett.Common/Definitions/turktorrent.yml
+++ b/src/Jackett.Common/Definitions/turktorrent.yml
@@ -80,6 +80,13 @@ settings:
type: info
label: How to get the Cookie
default: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button (Chrome Browser) or HTML button (FireFox)
- Refresh the page by pressing F5
- Click on the first row entry
- Select the Headers tab on the Right panel
- Find 'cookie:' in the Request Headers section
- 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: "- From the same place you fetched the cookie,
- Find 'user-agent:' in the Request Headers section
- Select and Copy the whole user-agent string (everything after 'user-agent: ') and Paste here.
"
- name: info_profile
type: info
label: Layout
@@ -113,6 +120,8 @@ login:
selector: div#member_info_bar
search:
+ headers:
+ User-Agent: ["{{ .Config.useragent }}"]
paths:
- path: /
inputs: