A simple program to bypass recaptcha version 2 using the audio verification method.
This program only demonstrates how to bypass recaptcha on https://www.google.com/recaptcha/api2/demo
You will need to adapt this program to work on other websites. This should serve as a base repository that you can modify to meet your needs.
- Windows
- MacOS (non ARM architecture) is possible, but an emphasis is placed on Windows given that ffmpegdoesn't and won't be supporting ARM architecture
Dependencies are managed via pipenv. If you don't already have it, run:
pip install pipenv
To install the projects dependencies, run:
pipenv install
To verify recaptcha_solver works with the demo, run:
python recaptcha_solver.py
To use recaptcha_solver in a separate file:
from recaptcha_solver import recaptcha_solver
# call the solver where needed, passing in the webdriver instance
recaptcha_solver(driver)
NameError: name 'sample_audio' is not defined
Try installing ffmpeg manually, http://blog.gregzaal.com/how-to-install-ffmpeg-on-windows/
The code in this repository was heavily borrowed and inspired by this blog post and repository by @ohyicong