A Python-based solution to solve Google ReCaptcha V2 using audio challenges and local AI speech recognition.
- Local Processing: Uses
faster-whisper(OpenAI Whisper) locally on CPU. No external API keys required. - Selenium Integration: Built for
seleniumandundetected-chromedriver. - Smart Logic: Handles "Multiple correct solutions required" and retry loops automatically.
-
Install dependencies:
pip install -r requirements.txt
-
Ensure you have
ffmpeginstalled on your system (required for audio processing).
from driver.chrome_driver import create_driver
from solver import AudioCaptchaSolver
driver = create_driver()
driver.get("https://www.google.com/recaptcha/api2/demo")
solver = AudioCaptchaSolver(driver)
result = solver.solve()
print(f"Solved: {result}")solver.py: Core logic for captcha solving.driver/chrome_driver.py: Helper to create undetected chrome instance.models/: Directory where AI models are stored (downloaded automatically if missing).
This project is for educational purposes only.