Skip to content

Commit

Permalink
torrent.lt: drop cookie method (#12824)
Browse files Browse the repository at this point in the history
  • Loading branch information
flygonecrazy committed Jan 14, 2022
1 parent af1002d commit 562c826
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/Jackett.Common/Definitions/torrentlt.yml
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 562c826

Please sign in to comment.