Metadata-Version: 2.4
Name: rcap-client
Version: 2.0.0
Summary: rcap client for solving reCAPTCHA challenges.
Author-email: Mahdi Marjani <mahdi.marjani.dev@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/mahdi-marjani/rcap-client
Project-URL: Documentation, https://github.com/mahdi-marjani/rcap-client
Project-URL: Repository, https://github.com/mahdi-marjani/rcap-client.git
Project-URL: Issues, https://github.com/mahdi-marjani/rcap-client/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy<3,>=2.2.6
Requires-Dist: pillow<13,>=10
Requires-Dist: requests<3,>=2.32.5
Requires-Dist: selenium<5,>=4.20
Requires-Dist: webdriver-manager<5,>=4.0.2
Dynamic: license-file

# rcap-client

rcap client for solving reCAPTCHA using Selenium and rcap server. 

## Installation

Install via pip:

```
pip install rcap-client
```

## Usage

Here's an example of how to use it:

```python
from selenium import webdriver
from selenium.webdriver.firefox.service import Service
from webdriver_manager.firefox import GeckoDriverManager
from rcap_client.solver import RecaptchaSolver

driver = webdriver.Firefox(service=Service(GeckoDriverManager().install()))
driver.get("https://www.google.com/recaptcha/api2/demo")

solver = RecaptchaSolver(driver)
solver.solve()  # Done!

print("reCAPTCHA solved!")
input("Press Enter to quit...")
driver.quit()
```

## Details

- Uses Selenium for browser interaction.
- Relies on a local API (localhost:8000) for image detection.
