mirror of https://github.com/Jackett/Jackett
fantasticheaven: add number captcha to login. resolves #9243
This commit is contained in:
parent
100548a86c
commit
27320dff92
|
@ -125,11 +125,16 @@ login:
|
|||
method: form
|
||||
form: form[action="/login.php"]
|
||||
cookies: ["JAVA=OK"] # avoid jscheck redirect
|
||||
captcha:
|
||||
type: image
|
||||
selector: img[src^="cap/captcha_math.php?codeCaptcha="]
|
||||
input: stringCaptcha
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
loggiin: "einloggen"
|
||||
|
||||
error:
|
||||
- selector: div#login_error
|
||||
test:
|
||||
path: index.php
|
||||
selector: a[href="logout.php"]
|
||||
|
|
Loading…
Reference in New Issue