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.3.tar.gz
.
File metadata
- Download URL: captcha_free-0.1.3.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 | 5e793e126257b21e2d8d61aea18053aec6855c45b0a53ed469039e7989f0bd74 |
|
MD5 | 0c8274e0881cffe84893f99a35f19747 |
|
BLAKE2b-256 | b6a7cc93ac6b034e456438ea633182a600a7d0560627772d81001b6d9714b1ff |
File details
Details for the file captcha_free-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: captcha_free-0.1.3-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 | ebfac7dd842c668d331659acbe0dab355ff8b6f73f791ff928e803638d5b7e0b |
|
MD5 | 69e3d71e7f0b2aa0d99db6d6d61943f0 |
|
BLAKE2b-256 | 21a820ba7470dd753f8c923b2ad08a4637b545c357589ca63b875bd8c98b4fc7 |