mirror of https://github.com/Jackett/Jackett
torrent.lt: drop cookie method (#12824)
This commit is contained in:
parent
af1002d57e
commit
562c826cfa
|
@ -119,15 +119,25 @@ settings:
|
|||
asc: asc
|
||||
|
||||
login:
|
||||
method: cookie
|
||||
# method: cookie
|
||||
# inputs:
|
||||
# cookie: "{{ .Config.cookie }}"
|
||||
# test:
|
||||
# path: lt/torrents.php
|
||||
path: lt/account-login.php
|
||||
method: post
|
||||
inputs:
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: div.klaida
|
||||
- selector: p.error_text
|
||||
test:
|
||||
path: lt/torrents.php
|
||||
path: lt/torrents
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: lt/torrents.php
|
||||
- path: lt/torrents
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}cats[]={{.}}&{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
|
|
Loading…
Reference in New Issue