SKILL.md
readonly只读
name
firecrawl-download
description
将整个网站下载为本地文件——每页可保存为 Markdown、截图或多种格式。当用户想要将网站保存到本地、离线下载文档、批量保存页面为文件,或说出“下载网站”、“保存为本地文件”、“离线副本”、“下载所有文档”或“保存以供参考”时,使用此技能。将网站映射和抓取功能结合,生成有序的本地目录。
firecrawl download
实验性功能。 便捷命令,结合
map+scrape将整个网站保存为本地文件。
首先映射网站以发现页面,然后将每个页面抓取到 .firecrawl/ 下的嵌套目录中。所有抓取选项均可与 download 配合使用。始终使用 -y 跳过确认提示。
何时使用
- 你想将整个网站(或部分)保存到本地文件
- 你需要离线访问文档或内容
- 批量提取内容并生成有序的文件结构
快速开始
# 交互式向导(自动选择格式、截图、路径)
firecrawl download https://docs.example.com
# 带截图
firecrawl download https://docs.example.com --screenshot --limit 20 -y
# 多种格式(每页保存为独立文件)
firecrawl download https://docs.example.com --format markdown,links --screenshot --limit 20 -y
# 每页生成:index.md + links.txt + screenshot.png
# 过滤特定部分
firecrawl download https://docs.example.com --include-paths "/features,/sdks"
# 跳过翻译版本
firecrawl download https://docs.example.com --exclude-paths "/zh,/ja,/fr,/es,/pt-BR"
# 完整组合
firecrawl download https://docs.example.com \
--include-paths "/features,/sdks" \
--exclude-paths "/zh,/ja" \
--only-main-content \
--screenshot \
-y
下载选项
| 选项 | 描述 |
|---|---|
--limit <n> |
最大下载页面数 |
--search <query> |
按搜索查询过滤 URL |
--include-paths <paths> |
仅下载匹配的路径 |
--exclude-paths <paths> |
跳过匹配的路径 |
--allow-subdomains |
包含子域名页面 |
-y |
跳过确认提示(在自动化流程中始终使用) |
抓取选项(均可与 download 配合使用)
-f <formats>, -H, -S, --screenshot, --full-page-screenshot, --only-main-content, --include-tags, --exclude-tags, --wait-for, --max-age, --country, --languages
另请参阅
- firecrawl-map — 仅发现 URL,不下载
- firecrawl-scrape — 抓取单个页面
- firecrawl-crawl — 批量提取为 JSON(非本地文件)






