mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
totheglory: update login and error detection. #12302
This commit is contained in:
@@ -129,6 +129,7 @@ settings:
|
|||||||
login:
|
login:
|
||||||
path: login.php?returnto=
|
path: login.php?returnto=
|
||||||
method: form
|
method: form
|
||||||
|
form: form[action="takelogin.php"]
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
@@ -137,7 +138,8 @@ login:
|
|||||||
passid: "{{ .Config.passid }}"
|
passid: "{{ .Config.passid }}"
|
||||||
passan: "{{ .Config.passan }}"
|
passan: "{{ .Config.passan }}"
|
||||||
error:
|
error:
|
||||||
- selector: form#loginform > span.warning
|
- selector: td.embedded:has(h2:contains("!")) # Chinese, Japanese
|
||||||
|
- selector: td.embedded:has(h2:contains("!")) # English, Korean
|
||||||
test:
|
test:
|
||||||
path: my.php
|
path: my.php
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user