forked from rDrama/rDrama
add proxies on hcaptcha requests
parent
968c55f8fc
commit
f2af76c905
|
@ -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].")
|
||||
|
|
Loading…
Reference in New Issue