Skip to main content

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rcap-client 3.0.0
File Size Uploaded
rcap_client-3.0.0.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rcap-client 3.0.0
File Interpreter ABI Platform
rcap_client-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / rcap_client-3.0.0.tar.gz

Download URL rcap_client-3.0.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
97aaf3c5277081efd5d7b8de8e636e333abcd9205742b436daf8ffa7ecdefc60
BLAKE2b-256 checksum
How to use checksums
35189d36a57c599687baa8ee82b63c45b6af3a34d5644698414d17a24d03d068
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.0-py3-none-any.whl

Download URL rcap_client-3.0.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a11c6ed6e06ed9c7b544bb6dbc6147b9f49ea9112b82224501b27f609f135817
BLAKE2b-256 checksum
How to use checksums
0d3e23a36b2b67089c318966ac0e65052e9552d7bd87dd38a3877b3599e5649c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

3.0.2

2 release files

3.0.1

2 release files

This release

3.0.0 This release

2 release files

2.0.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page