mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
totheglory: update login and error detection. #12302
This commit is contained in:
parent
3ca07ec0df
commit
b2a1b1133f
1 changed files with 3 additions and 1 deletions
|
@ -129,6 +129,7 @@ settings:
|
|||
login:
|
||||
path: login.php?returnto=
|
||||
method: form
|
||||
form: form[action="takelogin.php"]
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
|
@ -137,7 +138,8 @@ login:
|
|||
passid: "{{ .Config.passid }}"
|
||||
passan: "{{ .Config.passan }}"
|
||||
error:
|
||||
- selector: form#loginform > span.warning
|
||||
- selector: td.embedded:has(h2:contains("!")) # Chinese, Japanese
|
||||
- selector: td.embedded:has(h2:contains("!")) # English, Korean
|
||||
test:
|
||||
path: my.php
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue