mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
tormac: regular login, + fix seeds when 0. #15130
This commit is contained in:
parent
685064607e
commit
71c30631b7
1 changed files with 16 additions and 10 deletions
|
@ -64,13 +64,12 @@ caps:
|
||||||
allowrawsearch: true
|
allowrawsearch: true
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: cookie
|
- name: username
|
||||||
type: text
|
type: text
|
||||||
label: Cookie
|
label: Username
|
||||||
- name: info_cookie
|
- name: password
|
||||||
type: info
|
type: password
|
||||||
label: How to get the Cookie
|
label: Password
|
||||||
default: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
|
|
||||||
- name: stripcyrillic
|
- name: stripcyrillic
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Strip Cyrillic Letters
|
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."
|
default: "Inactive accounts are automatically deleted after 90 days from the moment the system first detects inactivity."
|
||||||
|
|
||||||
login:
|
login:
|
||||||
method: cookie
|
path: login.php
|
||||||
|
method: form
|
||||||
|
form: form[action="login.php"]
|
||||||
inputs:
|
inputs:
|
||||||
cookie: "{{ .Config.cookie }}"
|
login_username: "{{ .Config.username }}"
|
||||||
|
login_password: "{{ .Config.password }}"
|
||||||
|
redirect: index.php
|
||||||
|
login: Вход
|
||||||
|
error:
|
||||||
|
- selector: h4.warnColor1
|
||||||
test:
|
test:
|
||||||
path: index.php
|
path: /
|
||||||
selector: "a[onclick=\"return post2url('login.php', {logout: 1});\"]"
|
selector: "a[onclick=\"return post2url('login.php', {logout: 1});\"]"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
|
@ -216,7 +222,7 @@ search:
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(6) > u
|
selector: td:nth-child(6) > u
|
||||||
seeders:
|
seeders:
|
||||||
selector: td > b.seedmed
|
selector: td > b.seedmed, span[title="сида не было"] > b
|
||||||
leechers:
|
leechers:
|
||||||
selector: td.leechmed > b
|
selector: td.leechmed > b
|
||||||
grabs:
|
grabs:
|
||||||
|
|
Loading…
Add table
Reference in a new issue