add proxies on hcaptcha requests

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-09-26 04:40:58 +02:00
parent 968c55f8fc
commit f2af76c905
1 changed files with 1 additions and 1 deletions

View File

@ -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].")