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.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: captcha_free-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0f7f8b4723123d2576120f652555e8b025dd3abc34e97c18f5bf2f48dd267d69
MD5 26e597ab880e8317f51ab1c805f93369
BLAKE2b-256 9c62a9beca9394a8acf95a65b0047c787b9021b45c098404873dd830ab503fdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for captcha_free-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46644f47ae337978cd52b35d40e80b16472529eb908e81fa83db4c371a2a325c
MD5 b3a1509085cbf3344972b1c6dc925c55
BLAKE2b-256 bbfee52daaff0f3f511643f18c0ff7aa54c8cb4eace875ec6ead24cc0c2950ac

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