تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

capmonster

بواسطة easonc13

DevOps & Cloud
481التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط