Metadata-Version: 2.4
Name: capx-client
Version: 1.0.1
Summary: capx 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/capx-client
Project-URL: Documentation, https://github.com/mahdi-marjani/capx-client
Project-URL: Repository, https://github.com/mahdi-marjani/capx-client.git
Project-URL: Issues, https://github.com/mahdi-marjani/capx-client/issues
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=2.2.6
Requires-Dist: Pillow>=12.1.0
Requires-Dist: Requests>=2.32.5
Requires-Dist: selenium>=4.39.0
Requires-Dist: webdriver_manager>=4.0.2
Dynamic: license-file

# capx-client

capx client for solving reCAPTCHA using Selenium and capx server. 

## Installation

Install via pip:

```
pip install capx-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 capx_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.
