1
0
Fork 0
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:
Garfield69 2021-09-15 12:21:38 +12:00
parent 3ca07ec0df
commit b2a1b1133f

View file

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