Closed JakubLudvik closed 1 month ago
solver = TwoCaptcha('Hidden) try: login_response = requests.post('https://discord.com/api/v9/auth/login', json=login_payload) captcha_key = solver.hcaptcha( sitekey='f5561ba9-8f1e-40ca-9b5b-Hidden', url='https://discord.com/api/v9/auth/login') login_response.raise_for_status() except requests.exceptions.HTTPError as err: print(f"Login Failed with status code {err.response.status_code}: {err.response.text}") raise
@JakubLudvik Good afternoon, try running the code using the python3 command. Example: python3 main.py Or use a virtual environment.
And please let me know the result.
Please check https://github.com/2captcha/2captcha-python/issues/68#issuecomment-1920974503