We love bots โค๏ธ, but Google doesn't. So, here is the solution to bypass Google reCAPTCHA.
Solve Google reCAPTCHA less than 5 seconds! ๐
This is a Python script to solve Google reCAPTCHA using the DrissionPage library. Selenium implementation will be added soon.
Capsolver.com is an AI-powered service that specializes in solving various types of captchas automatically. It supports captchas such as reCAPTCHA V2, reCAPTCHA V3, hCaptcha, FunCaptcha, DataDome, AWS Captcha, Geetest, and Cloudflare Captcha / Challenge 5s, Imperva / Incapsula, among others.
For developers, Capsolver offers API integration options detailed in their documentation, facilitating the integration of captcha solving into applications. They also provide browser extensions for Chrome and Firefox, making it easy to use their service directly within a browser. Different pricing packages are available to accommodate varying needs, ensuring flexibility for users.
Three dependencies are required to run this script. You can install them using the following command:
pip install -r requirements.txt
Also, you need to install ffmpeg. You can download it from here.
sudo apt-get install ffmpeg
To implement this script in your project, you can follow a similar approach as shown below:
from DrissionPage import ChromiumPage
from RecaptchaSolver import RecaptchaSolver
driver = ChromiumPage()
recaptchaSolver = RecaptchaSolver(driver)
driver.get("https://www.google.com/recaptcha/api2/demo")
recaptchaSolver.solveCaptcha()
I have created test.py
to demonstrate the usage of this script. You can run the test.py
file to see the script in action.
We automate the browser to solve the reCAPTCHA. Instead of image captcha, we are solving the audio captcha. The audio captcha is easier to solve programmatically.
One warning: Google may block your IP if you solve too many captchas in a short period of time. So, use this script wisely or change your IP frequently.
- Selenium implementation.
- Better exception handling.