A Python package to solve reCAPTCHA audio challenges using Selenium and SpeechRecognition
Project description
ReCAPTCHASolver: Automate reCAPTCHA Audio Challenges with Python
ReCAPTCHASolver is a Python package that automates the process of solving Google's reCAPTCHA using audio challenges. It utilizes Selenium for web automation, requests for downloading audio files, and Google Speech Recognition for transcription.
Features
- Automates solving of Google reCAPTCHA challenges
- Uses speech-to-text to decode audio challenges
- Handles reCAPTCHA v2 (audio challenges)
- Verifies the installation of FFmpeg and configures it automatically
- Works with Selenium and requires the driver with the reCAPTCHA iframe to be provided
Demo
Installation
pip install recaptchav2solver
Usage
from selenium import webdriver
from recaptchav2solver import ReCAPTCHASolver
# Selenium driver setup
driver = webdriver.Chrome() # or webdriver.Firefox(), depending on the browser you use
# Access the URL containing the reCAPTCHA
url = 'https://example.com'
driver.get(url)
# Solve the reCAPTCHA
solver = ReCAPTCHASolver()
solver.solve_recaptcha(driver)
Notes
To use the solve_recaptcha function, make sure to send the driver (Selenium WebDriver instance) in which the reCAPTCHA iframe is present.
Dependencies
requests==2.31.0
selenium==4.27.1
speechrecognition==3.14.0
pydub==0.25.1
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file recaptchav2solver-1.2.0.tar.gz.
File metadata
- Download URL: recaptchav2solver-1.2.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bf43b12bc90e41f6928dbfa959a49a1b0d6f644c4278757d25c247d9034ccb2
|
|
| MD5 |
ccc244cb6e3df54e6161dbaed135bebf
|
|
| BLAKE2b-256 |
416d12d514023e75084dcb8a2b8e7b6ff5ee876c4dec5252d1815a70085cb135
|
File details
Details for the file recaptchav2solver-1.2.0-py3-none-any.whl.
File metadata
- Download URL: recaptchav2solver-1.2.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33113407044bb44f3689b8a416e3709138277b42972ea81b2193359074ed99b8
|
|
| MD5 |
9364a631624a94ed4f0254f5940a9826
|
|
| BLAKE2b-256 |
4e331998d83d2b324fb3154acb058f2955f60f5a146849883517fc30f5ac4459
|