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

flaresolverr

بواسطة dolverin

DevOps & Cloud
628التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Bypass Cloudflare protection — use when curl/summarize gets 403 or Cloudflare blocks.

الوصف

ما الذي تفعله هذه المهارة

Routes HTTP requests through a headless browser to bypass Cloudflare bot protection. Returns page HTML, cookies, and user-agent after solving JS challenges automatically. Supports sessions for multi-page scraping workflows.

Unlike rotating proxies or custom headers, FlareSolverr actually executes the Cloudflare JS challenge in a real browser, so it works against challenges that purely header-based tools cannot solve.

متى تستخدمها

  • Fetching protected documentation sites that return 403
  • Scraping price data behind Cloudflare walls
  • Accessing APIs that block automated curl requests
  • Reusing solved sessions across paginated scraping jobs
  • Downloading files hosted on Cloudflare-protected domains

مثال على سير العمل

الإدخال

User asks: fetch the HTML from https://example.com/protected-page which returns 403 with direct curl

الوكيل
  1. 1

    Check FLARESOLVERR_URL env var is set and FlareSolverr health endpoint responds

  2. 2

    POST request.get command to FlareSolverr with the target URL

  3. 3

    Check response status field for 'ok' before proceeding

  4. 4

    Extract .solution.response from JSON to get page HTML

  5. 5

    Return parsed HTML content to user

الإخراج

Full HTML of the Cloudflare-protected page, along with cf_clearance cookies and user-agent string

المتطلبات

  • FLARESOLVERR_URL environment variable pointing to a running FlareSolverr instance
  • FlareSolverr server running (self-hosted via Docker: ghcr.io/flaresolverr/flaresolverr)

التثبيت

clawhub install dolverin/flaresolverr

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

الروابط