Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

flaresolverr

bởi dolverin

DevOps & Cloud
628Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install dolverin/flaresolverr

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết