diff --git a/src/Jackett.Common/Definitions/bithorlo.yml b/src/Jackett.Common/Definitions/bithorlo.yml
index c2555f55a..fe63ce7d5 100644
--- a/src/Jackett.Common/Definitions/bithorlo.yml
+++ b/src/Jackett.Common/Definitions/bithorlo.yml
@@ -60,6 +60,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: freeleech
type: checkbox
label: Search freeleech only
@@ -83,6 +90,8 @@ settings:
login:
method: cookie
+ inputs:
+ cookie: "{{ .Config.cookie }}"
test:
path: index.php
selector: a[href="logout.php"]
@@ -98,6 +107,9 @@ search:
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
+ headers:
+ User-Agent: ["{{ .Config.useragent }}"]
+
rows:
selector: tr[class^="browse"]