跳到正文
TakoAPI
返回技能列表

flaresolverr

由 dolverin 提供

DevOps & Cloud
628下载量由 clawskills.sh 提供
2星标
0浏览量
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

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

链接