byrbt: new login

This commit is contained in:
Garfield69 2023-09-25 08:49:21 +13:00
parent b40254d526
commit c23f7c0d01
1 changed files with 3 additions and 9 deletions

View File

@ -63,17 +63,11 @@ login:
path: login.php
method: form
form: form[action="takelogin.php"]
captcha:
type: image
selector: img[alt="CAPTCHA"]
input: imagestring
inputs:
username: "{{ .Config.username }}"
logintype: username
userinput: "{{ .Config.username }}"
password: "{{ .Config.password }}"
logout: ""
securelogin: ""
ssl: yes
trackerssl: yes
autologin: yes
error:
- selector: td.embedded:has(h2:contains("失败"))
test: