Hi, I am using twocaptcha solving hcapcthca in this website:
https://www.bakecaincontrii.com/u/login/
I am solving the hcaptcha and putting the code inside textarea but it's not submitting. I am not sure how to solve this kind of issue as I am new in this type of work.
Here what I tried so far:
def solve_captcha(self):
solved = False
api_key = os.getenv("TWO_CAPTCHA_APIKEY")
solver = TwoCaptcha(api_key)
site_url = "https://www.bakecaincontrii.com/"
code = None
try:
print("Solving captcha......")
result = solver.hcaptcha(
sitekey="ced407c5-238b-4144-9b59-4dcd58092d36",
url="https://www.bakecaincontrii.com/u/login/"
)
except Exception as e:
print(e)
else:
code = result["code"]
script = f"document.querySelector(" + "'" + '[name="h-captcha-response"]' + "'" + ").innerHTML = " + "'" + code + "'"
self.execute_script(script)
time.sleep(10)
return str(code)
Top comments (1)
I prefer sites without paper and with many escorts like torchemada.net