跳到正文
Skillpedia
网页抓取77k · #2054

Firecrawl Automation

它能做什么

这个工具可以帮你自动从网站上收集信息。你可以获取某个页面的内容,也可以扫描整个网站来收集多个页面,或者提取姓名、价格等结构化数据。

适用场景

  • ✓当你需要下载网页上的主要文字内容时。
  • ✓当你想查看一个网站或某个板块的所有页面时。
  • ✓当你需要从多个页面中提取特定数据(比如价格或产品名称)时。

技能链接

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/firecrawl-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/firecrawl-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“把 https://example.com/article 这个页面的主要内容提取为纯文本。”

每周 5 个新技能,1 分钟读完。

工作原理

你告诉工具要访问哪个页面或网站,以及想要哪类信息。然后它会访问该网站、收集数据,并以有条理的格式交给你。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Firecrawl Automation

Run Firecrawl web crawling and extraction directly from Claude Code. Scrape individual pages, crawl entire sites, extract structured data with AI, batch process URL lists, and map website structures without leaving your terminal.

Toolkit docs: composio.dev/toolkits/firecrawl


Setup

  1. Add the Composio MCP server to your configuration:
    https://rube.app/mcp
    
  2. Connect your Firecrawl account when prompted. The agent will provide an authentication link.
  3. Be mindful of credit consumption -- scope your crawls tightly and test on small URL sets before scaling.

Core Workflows

1. Scrape a Single Page

Fetch content from a URL in multiple formats with optional browser actions for dynamic pages.

Tool: FIRECRAWL_SCRAPE

Key parameters:

  • url (required) -- fully qualified URL to scrape
  • formats -- output formats: markdown (default), html, rawHtml, links, screenshot, json
  • onlyMainContent (default true) -- extract main content only, excluding nav/footer/ads
  • waitFor -- milliseconds to wait for JS rendering (default 0)
  • timeout -- max wait in ms (default 30000)
  • actions -- browser actions before scraping (click, write, wait, press, scroll)
  • includeTags / excludeTags -- filter by HTML tags
  • jsonOptions -- for structured extraction with schema and/or prompt

Example prompt: "Scrape the main content from https://example.com/pricing as markdown"


2. Crawl an Entire Site

Discover and scrape multiple pages from a website with configurable depth, path filters, and concurrency.

Tool: FIRECRAWL_CRAWL_V2

Key parameters:

  • url (required) -- starting URL for the crawl
  • limit (default 10) -- max pages to crawl
  • maxDiscoveryDepth -- depth limit from the root page
  • includePaths / excludePaths -- regex patterns for URL paths
  • allowSubdomains -- include subdomains (default false)
  • crawlEntireDomain -- follow sibling/parent links, not just children (default false)
  • sitemap -- include (default), skip, or only
  • prompt -- natural language to auto-configure crawler settings
  • scrapeOptions_formats -- output format for each page
  • scrapeOptions_onlyMainContent -- main content extraction per page

Example prompt: "Crawl the docs section of firecrawl.dev, max 50 pages, only paths matching docs"


3. Extract Structured Data

Extract structured JSON data from web pages using AI with a natural language prompt or JSON schema.

Tool: FIRECRAWL_EXTRACT

Key parameters:

  • urls (required) -- array of URLs to extract from (max 10 in beta). Supports wildcards like https://example.com/blog/*
  • prompt -- natural language description of what to extract
  • schema -- JSON Schema defining the desired output structure
  • enable_web_search -- allow crawling links outside initial domains (default false)

At least one of prompt or schema must be provided.

Check extraction status with FIRECRAWL_EXTRACT_GET using the returned job id.

Example prompt: "Extract company name, pricing tiers, and feature lists from https://example.com/pricing"


4. Batch Scrape Multiple URLs

Scrape many URLs concurrently with shared configuration for efficient bulk data collection.

Tool: FIRECRAWL_BATCH_SCRAPE

Key parameters:

  • urls (required) -- array of URLs to scrape
  • formats -- output format for all pages (default markdown)
  • onlyMainContent (default true) -- main content extraction
  • maxConcurrency -- parallel scrape limit
  • ignoreInvalidURLs (default true) -- skip bad URLs instead of failing the batch
  • location -- geolocation settings with country code
  • actions -- browser actions applied to each page
  • blockAds (default true) -- block advertisements

Example prompt: "Batch scrape these 20 product page URLs as markdown with ad blocking"


5. Map Website Structure

Discover all URLs on a website from a starting URL, useful for planning crawls or auditing site structure.

Tool: FIRECRAWL_MAP_MULTIPLE_URLS_BASED_ON_OPTIONS

Key parameters:

  • url (required) -- starting URL (must be https:// or http://)
  • search -- guide URL discovery toward specific page types
  • limit (default 5000, max 100000) -- max URLs to return
  • includeSubdomains (default true) -- include subdomains
  • ignoreQueryParameters (default true) -- dedupe URLs differing only by query params

…

常见问题

「爬取网站」是什么意思?

就像一个机器人依次访问网站的各个页面,从每一个页面中收集信息。

可以提取表格或列表之类的特定数据吗?

可以。你可以要求提取特定信息,比如产品名称、价格或功能,工具会尽量为你整理好。

如果一个网站有很多页面怎么办?

你可以设置工具最多访问多少个页面,这样它不会耗时太久,也不会因为任务过多而出错。

详情

作者的原始描述

Automate web crawling and data extraction with Firecrawl -- scrape pages, crawl sites, extract structured data, batch scrape URLs, and map website structures through the Composio Firecrawl integration.

repo: ComposioHQ/awesome-claude-skills

热度

GitHub 星标
77k
排名
#2054
许可证
—
更新时间
2026/9/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能