torrent.lt: drop cookie method (#12824)

This commit is contained in:
tomaskazragis 2022-01-15 01:29:36 +02:00 committed by GitHub
parent af1002d57e
commit 562c826cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 4 deletions

View File

@ -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 }}"