跳到正文
TakoAPI
返回技能列表

2captcha

由 adinvadim 提供

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

简介

Solve CAPTCHAs using 2Captcha service.

描述

该技能的功能

A CLI tool that submits CAPTCHAs to the 2Captcha human-powered solving service and returns tokens ready to inject into a target page. Supports image CAPTCHAs, reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile, FunCaptcha, and GeeTest. Solving takes 10-60 seconds depending on type.

Using a human-powered solving service via CLI avoids maintaining ML-based solvers or browser extensions that break when CAPTCHA providers update their challenge formats.

何时使用

  • Automating form submissions blocked by reCAPTCHA
  • Scraping sites protected by hCaptcha or Cloudflare Turnstile
  • Testing CAPTCHA-gated registration and login flows in CI pipelines
  • Batch account creation on sites with CAPTCHA gates
  • Unblocking browser automation scripts that stall on CAPTCHA challenges

示例工作流

输入

User asks: automate a reCAPTCHA v2 registration form submission

智能体
  1. 1

    Inspect page HTML to locate the data-sitekey attribute in the reCAPTCHA widget

  2. 2

    Call solve-captcha recaptcha2 with the extracted sitekey and page URL

  3. 3

    Wait for the returned token (10-60 seconds)

  4. 4

    Inject the token into the g-recaptcha-response hidden field

  5. 5

    Submit the form programmatically

输出

Form submitted with a valid CAPTCHA token accepted by the target site

前置要求

  • 2Captcha account with prepaid balance (paid per solve, sign up at 2captcha.com)
  • 2Captcha API key (stored in ~/.config/2captcha/api-key or TWOCAPTCHA_API_KEY env var)
  • solve-captcha CLI binary (installed via curl from GitHub, non-standard tool)

安装

clawhub install adinvadim/2captcha

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

链接