/CapSolver-HCAPTCHA-Solver

A Python selenium implementation to bypass hcaptcha via capsolver.

Primary LanguagePython

Capsolver Hcaptcha Captcha Bypass

Capsolver

Solve Hcaptcha Captcha in just one line of code!

A Selenium implementation to bypass Hcaptcha Captcha using Capsolver API.

Getting Started

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh

# On Windows.
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

# With pip.
pip install uv

# With pipx.
pipx install uv

# With Homebrew.
brew install uv

# With Pacman.
pacman -S uv

To create a virtual environment:

uv venv  # Create a virtual environment at .venv.

To activate the virtual environment:

# On macOS and Linux.
source .venv/bin/activate

# On Windows.
.venv\Scripts\activate
    
  • Usage

To use this script, you need to have a Capsolver account. You can create an account here and get your API key. Once you have your API key, replace api_key in the script with your actual API key.

python main.py

Capsolver

Capsolver is a platform that provides APIs to solve CAPTCHAs. You can use Capsolver to bypass CAPTCHAs in your web scraping projects. The platform supports solving Google Recaptcha V2, Recaptcha V3, hCaptcha, FunCaptcha, GeeTest, and more. You can create an account here and get your API key.