From f2bb845ee79ff3413a29dc482e2eeafb4f5e12cb Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Mon, 6 Nov 2023 03:52:32 +0000 Subject: [PATCH] hellashut: support captcha login --- src/Jackett.Common/Definitions/hellashut.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/hellashut.yml b/src/Jackett.Common/Definitions/hellashut.yml index 5592b1cdc..40c34c763 100644 --- a/src/Jackett.Common/Definitions/hellashut.yml +++ b/src/Jackett.Common/Definitions/hellashut.yml @@ -103,11 +103,15 @@ settings: login: path: account-login.php - method: post + method: form + form: form[action="account-login.php"] + captcha: + type: image + selector: img[src="captcha.php?ext=.gif"] + input: captcha inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" - returnto: / error: - selector: td.embedded:contains("Access Denied") test: