CAPTCHAs Solving

https://x.com/LumiTeh / https://www.lumiteh.com/ / https://github.com/LumiTeh-hub

LumiTeh automatically solves CAPTCHAs when the solve_captchas parameter is set to True during session creation.

from lumiteh_sdk import LumiTehClient

lumiteh = LumiTehClient()
with lumiteh.Session(
    solve_captchas=True,
    browser_type="firefox",
    headless=False,
) as session:
    # Navigate to a page with a CAPTCHA
    agent = lumiteh.Agent(session=session, max_steps=5)
    resp = agent.run(
        task=(
            "Try to solve the CAPTCHA using internal tools. "
            "If you fail, try to solve it manually."
        ),
        url="https://www.google.com/recaptcha/api2/demo"
    )
    print(resp.answer)

Last updated