mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
torrentlt: use cookie method. resolves #7051
This commit is contained in:
parent
dbb3234bf1
commit
d031371083
1 changed files with 12 additions and 6 deletions
|
@ -67,14 +67,19 @@
|
|||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
default: "<ol><li>Login to this tracker in 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 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
|
||||
|
||||
login:
|
||||
path: lt/account-login.php
|
||||
method: post
|
||||
method: cookie
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: p.error_text
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: lt/torrents.php
|
||||
|
||||
|
@ -126,3 +131,4 @@
|
|||
filters:
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04"
|
||||
# engine tbd
|
||||
|
|
Loading…
Reference in a new issue