diff --git a/src/Jackett.Common/Definitions/fantasticheaven.yml b/src/Jackett.Common/Definitions/fantasticheaven.yml index c2be528a4..e663fc7ff 100644 --- a/src/Jackett.Common/Definitions/fantasticheaven.yml +++ b/src/Jackett.Common/Definitions/fantasticheaven.yml @@ -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"]