diff --git a/src/Jackett.Common/Definitions/torrentdownload.yml b/src/Jackett.Common/Definitions/torrentdownload.yml
index 90d55eee6..49f8b8878 100644
--- a/src/Jackett.Common/Definitions/torrentdownload.yml
+++ b/src/Jackett.Common/Definitions/torrentdownload.yml
@@ -31,6 +31,13 @@
movie-search: [q]
settings:
+ - name: cookie
+ type: text
+ label: Cookie
+ - name: info
+ type: info
+ label: How to get the Cookie
+ default: "
- Access this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button
- Refresh the page by pressing F5
- Select the Headers tab
- Find 'cookie:' in the Request Headers section
- Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
"
- name: sort
type: select
label: Sort requested from site (Applies only to Search with Keywords)
@@ -44,9 +51,14 @@
selector: a[href^="magnet:?xt="]
attribute: href
+ login:
+ method: cookie
+ test:
+ path: /
+
search:
paths:
- - path: "{{ if .Keywords }}search{{ re_replace .Config.sort \"_\" \"\" }}?q={{ .Keywords }}{{else}}latest{{end}}"
+ - path: "{{ if .Keywords }}search{{ re_replace .Config.sort \"_\" \"\" }}?q={{ .Keywords }}{{else}}{{end}}"
rows:
selector: table.table2 > tbody > tr:has(span.smallish)
@@ -54,7 +66,6 @@
fields:
category:
selector: div.tt-name > span.smallish
- optional: true
filters:
- name: re_replace
args: ["[^A-Za-z]+", ""] # strip everything but letters