mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
torrentbd: switch to cookie method. resolves #8243
This commit is contained in:
parent
cd4e5de8f4
commit
dcc5527dd6
1 changed files with 11 additions and 6 deletions
|
@ -85,14 +85,19 @@
|
|||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info_cookie
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
|
||||
|
||||
login:
|
||||
path: torrent/account-login.php
|
||||
method: post
|
||||
method: cookie
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: div.row p.red-text
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: torrent/
|
||||
selector: a[href="account-logout.php"]
|
||||
|
|
Loading…
Reference in a new issue