Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sexfrance/recaptchav2-solver

A Python-based solution for solving Google's reCAPTCHA v2 challenges efficiently (8-12 seconds solve time). The script supports both synchronous and asynchronous operations, with API endpoints for easy integration. Uses audio challenge method with speech recognition for reliable solving.
https://github.com/sexfrance/recaptchav2-solver

api async asyncio audio-captcha automation captcha-solver patchright playwright python recaptcha recaptcha-solver recaptchav2 recaptchav2-solver speech-recognition web-automation web-scraping

Last synced: about 2 months ago
JSON representation

A Python-based solution for solving Google's reCAPTCHA v2 challenges efficiently (8-12 seconds solve time). The script supports both synchronous and asynchronous operations, with API endpoints for easy integration. Uses audio challenge method with speech recognition for reliable solving.

Awesome Lists containing this project

README

        



RecaptchaV2 - Solver



A Python-based solution for solving Google's reCAPTCHA v2 challenges efficiently (8-12 seconds solve time). The script supports both synchronous and asynchronous operations, with API endpoints for easy integration. Uses audio challenge method with speech recognition for reliable solving.




๐Ÿ’ฌ Discord
ยท
๐Ÿ“œ ChangeLog
ยท
โš ๏ธ Report Bug
ยท
๐Ÿ’ก Request Feature


### โš™๏ธ Installation

- Requires: `Python 3.8+`
- Make a python virtual environment: `python3 -m venv venv`
- Source the environment: `venv\Scripts\activate` (Windows) / `source venv/bin/activate` (macOS, Linux)
- Install the requirements: `pip install -r requirements.txt`
- Install chrominium: `patchright install chromium` / `python -m patchright install chromium`

---

### ๐Ÿ”ฅ Features

- **Multiple Operation Modes**: Supports synchronous, asynchronous, and API-based solving
- **Audio Challenge Solving**: Uses speech recognition to solve audio challenges automatically
- **Proxy Support**: Built-in proxy support for avoiding rate limits
- **Concurrent Solving**: Batch processing capability for multiple CAPTCHAs
- **Debug Logging**: Comprehensive debug logs for troubleshooting
- **Rate Limit Detection**: Automatically detects and handles rate limiting
- **Enterprise Support**: Handles both standard and enterprise reCAPTCHA
- **Token Retrieval**: Multiple methods for reliable token extraction
- **Error Handling**: Robust error handling with detailed feedback

---

### ๐Ÿ“ Usage

#### API Usage

```python
curl -X POST http://localhost:8080/solve \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"site_key": "your_site_key",
"proxy": {
"server": "proxy_address",
"username": "proxy_user",
"password": "proxy_pass"
}
}'
```

#### Async Usage

```python
async def main():
token = await AsyncReCaptchaSolver.solve_recaptcha(
url="https://example.com",
site_key="your_site_key",
proxy={
"server": "proxy_address",
"username": "proxy_user",
"password": "proxy_pass"})
print(token)

asyncio.run(main())
```

#### Sync Usage

```python
token = ReCaptchaSolver.solve_recaptcha(
url="https://example.com",
site_key="your_site_key",
proxy={
"server": "proxy_address",
"username": "proxy_user",
"password": "proxy_pass"
}
)
print(token)
```

---

### ๐Ÿ“น Preview

![Preview](https://i.imgur.com/fHZwjNl.gif)

---

### โ— Disclaimers

- I am not responsible for anything that may happen, such as API Blocking, IP ban, etc.
- This was a quick project that was made for fun and personal use if you want to see further updates, star the repo & create an "issue" [here](https://github.com/sexfrance/RecaptchaV2-Solver/issues/)

---

### ๐Ÿ“œ ChangeLog

```diff
v0.0.1 โ‹ฎ 11/12/2024
! Initial release
```

---