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

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.1
File Size Uploaded
rcap_client-3.0.1.tar.gz 7.2 kB Details

Built distribution (wheel)

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

Total release size: 15.4 kB

Release files / rcap_client-3.0.1.tar.gz

Download URL rcap_client-3.0.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1225f932ea4b640e50be77eef872af5f6d42df2461d335e1ab6b24564333475d
BLAKE2b-256 checksum
How to use checksums
1037e6638369429d67a78d5825cad212cc0543c75785582ccdf572b0cf3eb600
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.1-py3-none-any.whl

Download URL rcap_client-3.0.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdd81f48602689c6e25b6d77d813c820d68d22cd28a3900e50135c6dbba57b30
BLAKE2b-256 checksum
How to use checksums
91113b4fcf687a7707c1c533c6faba5fa73bd0bce7c461ca935b202ce1d1945e
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

This release

3.0.1 This release

2 release files

3.0.0

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