跳到正文
TakoAPI
返回技能列表

capmonster

由 easonc13 提供

DevOps & Cloud
481下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Solve CAPTCHAs (reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile, image CAPTCHAs) using CapMonster Cloud API.

描述

该技能的功能

Solves CAPTCHAs programmatically via the CapMonster Cloud API during browser automation. Supports reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile, and image CAPTCHAs. Handles task creation, polling, and token injection into pages.

CapMonster Cloud returns solved tokens in seconds at low cost, avoiding the need to run local CAPTCHA-solving models or maintain browser farms.

何时使用

  • Bypassing reCAPTCHA v2 during automated form submissions
  • Unblocking Google Scholar scraping when unusual traffic is detected
  • Solving hCaptcha challenges in headless browser workflows
  • Automating login flows that require Cloudflare Turnstile verification
  • Reading text from image CAPTCHAs during legacy site scraping

示例工作流

输入

User asks: solve the reCAPTCHA on https://example.com and submit the form

智能体
  1. 1

    Evaluate the page to detect CAPTCHA type and extract the sitekey from data-sitekey or iframe src

  2. 2

    Submit a createTask request to the CapMonster API with the website URL and sitekey

  3. 3

    Poll getTaskResult every 2 seconds until status is ready and a token is returned

  4. 4

    Inject the token into the g-recaptcha-response textarea and trigger the grecaptcha callback

  5. 5

    Click the submit button or call form.submit() to complete the form

输出

Form submitted successfully with a valid CAPTCHA token injected before expiry

前置要求

  • CAPMONSTER_API_KEY environment variable
  • CapMonster Cloud account with account balance

安装

clawhub install easonc13/capmonster

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接