/pyppeteer-hcaptcha-solver

Solve hcaptcha using pyppeteer.

Primary LanguagePythonMIT LicenseMIT

Pyppeteer Hcaptcha

A fork of Puppeteer Hcaptcha Solver for python.

Features

Asynchronous Fast Easy to use Solves hcaptcha on any site

Installation

pip install pyppeteerhcaptcha

License:

MIT

Basic Usage:

from pyppeteer import launch
from pyppeteerhcaptcha import PyppeteerHcaptchaSolver
import asyncio
async def main():
    browser = await launch({ "headless": False })
    solver = PyppeteerHcaptchaSolver(browser)
    page = await browser.newPage()
    await page.goto("https://accounts.hcaptcha.com/demo?sitekey=4c672d35-0701-42b2-88c3-78380b0db560")
    await page.waitForSelector("iframe")
    await asyncio.sleep(2)
    token = await solver.solve(page) # boom hcaptcha is solved!!!
    print(token)
asyncio.get_event_loop().run_until_complete(main())

Pyppeteer Hcaptcha In Action