diff --git a/RecaptchaSolver.py b/RecaptchaSolver.py index 4faa7b2..7bfa351 100644 --- a/RecaptchaSolver.py +++ b/RecaptchaSolver.py @@ -61,6 +61,7 @@ def solveCaptcha(self) -> None: raise Exception("Captcha detected bot behavior") # Download and process audio + iframe(".rc-audiochallenge-play-button", timeout=self.TIMEOUT_STANDARD).click() iframe.wait.ele_displayed("#audio-source", timeout=self.TIMEOUT_STANDARD) src = iframe("#audio-source").attrs["src"] @@ -135,4 +136,4 @@ def get_token(self) -> Optional[str]: try: return self.driver.ele("#recaptcha-token").attrs["value"] except Exception: - return None \ No newline at end of file + return None