diff --git a/src/Jackett.Common/Definitions/cztorrent.yml b/src/Jackett.Common/Definitions/cztorrent.yml
index 3c78f4cd9..a3ed0c546 100644
--- a/src/Jackett.Common/Definitions/cztorrent.yml
+++ b/src/Jackett.Common/Definitions/cztorrent.yml
@@ -38,19 +38,16 @@
tv-search: [q, season, ep]
movie-search: [q]
- settings:
- - name: cookie
- type: text
- label: Cookie
- - name: info
- type: info
- label: How to get the Cookie
- default: "
- Login to this tracker in 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
- Copy & paste the whole cookie string to here
"
-
login:
- method: cookie
+ path: login-page
+ method: form
+ form: form[action="/login?url=%2F"]
inputs:
- cookie: "{{ .Config.cookie }}"
+ username: "{{ .Config.username }}"
+ password: "{{ .Config.password }}"
+ persistent_login: 1
+ error:
+ - selector: div.error
test:
path: torrents