capmonster-python docs
Solve Turnstile Task
Solve Turnstile Task
First of all, you need an API key to work. You can get one from here
All Turnstile subtypes are automatically supported: manual, non-interactive and invisible. Therefore, there is no need to specify a subtype.
What you need
- Website's key
- Website url
Solve
solve_turnstile.py
from capmonster_python import TurnstileTask
capmonster = TurnstileTask("API_KEY")task_id = capmonster.create_task("website_url", "website_key")result = capmonster.join_task_result(task_id)print(result.get("token"))