mirror of https://github.com/Jackett/Jackett
rustorka: change to credentials login
This commit is contained in:
parent
be5399cd17
commit
133d3f5b9e
|
@ -772,13 +772,12 @@ caps:
|
|||
book-search: [q]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
- name: username
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
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>"
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: stripcyrillic
|
||||
type: checkbox
|
||||
label: Strip Cyrillic Letters
|
||||
|
@ -809,9 +808,15 @@ settings:
|
|||
1: asc
|
||||
|
||||
login:
|
||||
method: cookie
|
||||
path: forum/login.php
|
||||
method: post
|
||||
inputs:
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
login_username: "{{ .Config.username }}"
|
||||
login_password: "{{ .Config.password }}"
|
||||
autologin: 1
|
||||
login: Вход
|
||||
error:
|
||||
- selector: h4.warnColor1.mrg_16
|
||||
test:
|
||||
path: forum/index.php
|
||||
selector: a[href="./login.php?logout=1"]
|
||||
|
@ -880,6 +885,9 @@ search:
|
|||
- name: re_replace # S01E02 to сезон 1 сери 2
|
||||
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "сезон $1 сери $2"]
|
||||
|
||||
headers:
|
||||
Cookie: ["godbayadblock=godbayadblock"]
|
||||
|
||||
rows:
|
||||
selector: tr[id^="tor_"]:has(a[href^="./download.php?id="])
|
||||
|
||||
|
|
Loading…
Reference in New Issue