Skip to main content

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

captcha_free-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

captcha_free-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file captcha_free-0.1.1.tar.gz.

File metadata

  • Download URL: captcha_free-0.1.1.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

Hashes for captcha_free-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a24e498bbc1011720555b41bd246ed3fbdb15c7a1cdbbd0fda773576930710f6
MD5 f6725d3c26b4eb15f1d0ca466a3d7a3b
BLAKE2b-256 71954b1dbac5c618421abec432bbff75b0ab055872c9042b6e257ec85073ae7b

See more details on using hashes here.

File details

Details for the file captcha_free-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for captcha_free-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9e44149f70ccd32b77ddd709f3049b8beb7d39c5fc929f7ccfad0144ba1005d
MD5 19f0656ee81992d767ef56f54add6f9c
BLAKE2b-256 f0817828d464017cc355d0dfefd76231762d84aba294159dc0f631a4986e91ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page