capmonster-python docs

Solve ReCaptcha v3

Solve ReCaptcha v3

First of all, you need an API key to work. You can get one from here

What you need

  1. Website key
  2. Website url

Get website key

Mostly, you can find the site key in api.js's query parameters.

<script src="https://www.google.com/recaptcha/api.js?render=THAT_ONE"/>

Solve

solve_recaptcha_v3.py
from capmonster_python import RecaptchaV3Task
capmonster = RecaptchaV3Task("API_KEY")
task_id = capmonster.create_task("website_url", "website_key")
result = capmonster.join_task_result(task_id)
print(result.get("gRecaptchaResponse"))
Edit this page on GitHub