用途:当你已有具体 URL 并想获取其内容时使用,页面可以是静态或 JS 渲染的 SPA。它是 search → scrape → map → crawl → interact 工作流中的第二步。
主要能力:返回干净的、面向 LLM 优化的 Markdown;支持并发抓取多个 URL;可输出 markdown、html、rawHtml、links、screenshot、json 等格式;支持 --only-main-content 去除导航/页脚/侧栏,--wait-for 等待 JS 渲染,--include-tags/--exclude-tags 过滤标签,--redact-pii 脱敏,--query 针对页面提问(消耗 5 积分)。还可通过 alexandria 参数执行 Alexandria 数据提供方能力。
使用方式:优先使用 Firecrawl MCP 的原生 firecrawl_scrape 工具,无需本地安装,通过插件的一次性浏览器登录认证;MCP 未连接时回退到 CLI。示例:firecrawl scrape "<url>" -o .firecrawl/page.md;firecrawl scrape "<url>" --only-main-content -o .firecrawl/page.md;firecrawl scrape "<url>" --wait-for 3000 -o .firecrawl/page.md;firecrawl scrape https://example.com https://example.com/blog;firecrawl scrape "<url>" --format markdown,links -o .firecrawl/page.json;firecrawl scrape "https://example.com/pricing" --query "What is the enterprise plan price?"。CLI 中 Alexandria 调用为 firecrawl scrape <provider>/<capability> --options '<json>'。
适用场景:需要抓取单个或多个页面内容、处理 JS 渲染页面、提取正文或链接、对页面内容提问。
限制与提示:优先使用普通 scrape 而非 --query,先抓取到文件再用 grep、head 或直接阅读 Markdown;仅当需要单个定向答案且不保存页面时才用 --query。先尝试 scrape,只有需要点击、填表、翻页等交互时才升级到 interact。多 URL 并发受 firecrawl --status 显示的限制约束。单一格式输出原始内容,多格式输出 JSON。URL 需加引号,因为 shell 会把 ? 和 & 视为特殊字符。命名约定为 .firecrawl/{site}-{path}.md。关于 Alexandria 的流程、定价和提供方条款,资料指向 firecrawl-alexandria,未在此展开。