rcap-client
rcap browser interactions for solving reCAPTCHA using Selenium or Playwright and rcap server.
Installation
Install via pip:
pip install rcap-client
Usage
Selenium
from selenium import webdriver
from selenium.webdriver.firefox.service import Service
from webdriver_manager.firefox import GeckoDriverManager
from rcap_client.selenium import SeleniumRecaptchaSolver
driver = webdriver.Firefox(service=Service(GeckoDriverManager().install()))
driver.get("https://www.google.com/recaptcha/api2/demo")
solver = SeleniumRecaptchaSolver(driver)
solver.solve() # Done!
print("reCAPTCHA solved!")
input("Press Enter to quit...")
driver.quit()
Playwright
from rcap_client.playwright import PlaywrightRecaptchaSolver
from playwright.sync_api import sync_playwright
playwright = sync_playwright().start()
browser = playwright.chromium.launch(headless=False)
page = browser.new_page()
page.goto("https://www.google.com/recaptcha/api2/demo")
solver = PlaywrightRecaptchaSolver(page)
solver.solve() # Done!
print("reCAPTCHA solved!")
input("Press Enter to quit...")
page.close()
Details
- Uses Selenium or Playwright for browser interaction.
- Relies on a local API (localhost:8000) for image detection.
Metadata
Release files for rcap-client 3.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rcap_client-3.0.2.tar.gz | 7.2 kB | Without provenance | Details for rcap_client-3.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rcap_client-3.0.2-py3-none-any.whl | Python 3 | none | any | Details for rcap_client-3.0.2-py3-none-any.whl |
Total release size: 15.3 kB
Release files / rcap_client-3.0.2.tar.gz
| Download URL | rcap_client-3.0.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78d702a26ef9f439694a1154af6ca55334b57c1aff0df97041f45d6cb3a5ca30
|
|
BLAKE2b-256 checksum How to use checksums |
d83354eb53e408d8cfaa2c118501277361279210df82c930fb9f2829106127a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / rcap_client-3.0.2-py3-none-any.whl
| Download URL | rcap_client-3.0.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebfac23cfe0b9ab439968f2f4e3ebaf2aaedf1346fff0a8f0cb75f7e35dfd126
|
|
BLAKE2b-256 checksum How to use checksums |
0ad0ca3d491e407c3333a5034dadfef5fca303623dbddff9d21116d19ef37107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for rcap-client 3.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.