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 using a local version of 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.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: captcha_free-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 96538f1b3045e3664cca3f27f95455ea64a3cd682c8b581d616826778c245b50
MD5 1a06864f3e1f0f4b7626acdf90ff135a
BLAKE2b-256 aef443e38815d10199644114636084a86a047ce5e5499bc2121708696a63753d

See more details on using hashes here.

File details

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

File metadata

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

Hashes for captcha_free-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ee03e88c4b18a27b30faba8924b415ea2d50975b9f6cc060973ab64800502711
MD5 2245019f5eb2e427ffb2683009def853
BLAKE2b-256 541c3801676c63116a73c6106569ff6796606893b746d0a58c15c4c7549f95f6

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