diff --git a/src/Jackett.Common/Definitions/tormac.yml b/src/Jackett.Common/Definitions/tormac.yml
index 31f377f49..559574082 100644
--- a/src/Jackett.Common/Definitions/tormac.yml
+++ b/src/Jackett.Common/Definitions/tormac.yml
@@ -64,13 +64,12 @@ caps:
allowrawsearch: true
settings:
- - name: cookie
+ - name: username
type: text
- label: Cookie
- - name: info_cookie
- 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.
"
+ label: Username
+ - name: password
+ type: password
+ label: Password
- name: stripcyrillic
type: checkbox
label: Strip Cyrillic Letters
@@ -105,11 +104,18 @@ settings:
default: "Inactive accounts are automatically deleted after 90 days from the moment the system first detects inactivity."
login:
- method: cookie
+ path: login.php
+ method: form
+ form: form[action="login.php"]
inputs:
- cookie: "{{ .Config.cookie }}"
+ login_username: "{{ .Config.username }}"
+ login_password: "{{ .Config.password }}"
+ redirect: index.php
+ login: Вход
+ error:
+ - selector: h4.warnColor1
test:
- path: index.php
+ path: /
selector: "a[onclick=\"return post2url('login.php', {logout: 1});\"]"
search:
@@ -216,7 +222,7 @@ search:
size:
selector: td:nth-child(6) > u
seeders:
- selector: td > b.seedmed
+ selector: td > b.seedmed, span[title="сида не было"] > b
leechers:
selector: td.leechmed > b
grabs: