From f2af76c905d58d5982bf0e1394c1e43acf5da25c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 26 Sep 2022 04:40:58 +0200 Subject: [PATCH] add proxies on hcaptcha requests --- files/routes/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/login.py b/files/routes/login.py index 22bd8712e6..c2803ae4f5 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -318,7 +318,7 @@ def sign_up_post(v): "sitekey": HCAPTCHA_SITEKEY} url = "https://hcaptcha.com/siteverify" - x = requests.post(url, data=data, timeout=5) + x = requests.post(url, data=data, timeout=5, proxies=proxies) if not x.json()["success"]: return signup_error("Unable to verify captcha [2].")