A Selenium WebDriver wrapper that bypasses reCAPTCHA using OpenAI Whisper
Project description
CaptchaFree
CaptchaFree is a Selenium WebDriver wrapper that automatically solves reCAPTCHA locally using OpenAI's Whisper model. This tool seamlessly integrates with any Selenium WebDriver instance, enabling you to automate web interactions without the hassle of reCAPTCHA interruptions.
How are we solving captcha?
ChromeFree uses OpenAI's Whisper model to solve reCAPTCHA by converting audio CAPTCHA challenges into text. The audio CAPTCHA is downloaded and transcribed locally using the Whisper model, which then provides the text input to bypass the CAPTCHA. This process runs continuously in the background, ensuring automated CAPTCHA solving for any site visited. For a visual demonstration, check out this video.
Installation
To install CaptchaFree, use pip:
pip install captcha_free
Usage
Here is an example of how to use CaptchaFree with a Selenium WebDriver:
from captcha_free import CaptchaFree
from selenium import webdriver
# Wrap any selenium webdriver in the CaptchaFree class
driver = CaptchaFree(webdriver.Chrome())
# Go to a website that uses reCAPTCHA
driver.get("https://patrickhlauke.github.io/recaptcha/")
# All existing Selenium Webdriver class methods work as expected
driver.close()
Contributing
Feel free to submit issues and pull requests for new features, bug fixes, or improvements.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file captcha_free-0.1.2.tar.gz
.
File metadata
- Download URL: captcha_free-0.1.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0332ce3cb1789e2b6541491cbb7116903a0957a5a3995f5020ed5f5c287a1ab |
|
MD5 | 7eb26869885e581fb1edfbe281a39f78 |
|
BLAKE2b-256 | 6f814b705a13f37f16ec5e4adf7a944dafd0f6ebeff3082dfed4dff150379111 |
File details
Details for the file captcha_free-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: captcha_free-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 680ec256c1bef48d0accba1319acaf3bce8ce1ac542c25f48d5ebbd3160c007d |
|
MD5 | 6fef63af7a37e4d28cf9ac507405757c |
|
BLAKE2b-256 | eaadacbbe93664a6727d4203aac2fb2ed359dc635e209d542bb3c0a053c42f8b |