SKILL.md
readonlyread-only
name
firecrawl-download
description
Download an entire website as local files — markdown, screenshots, or multiple formats per page. Use this skill when the user wants to save a site locally, download documentation for offline use, bulk-save pages as files, or says "download the site", "save as local files", "offline copy", "download all the docs", or "save for reference". Combines site mapping and scraping into organized local directories.
firecrawl download
實驗性功能。 便利指令,結合
map+scrape將整個網站儲存為本地檔案。
先繪製網站地圖以發現頁面,然後將每個頁面爬取到 .firecrawl/ 下的巢狀目錄中。所有爬取選項都適用於下載。務必加上 -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 |
跳過確認提示(自動化流程中務必使用) |
爬取選項(全部適用於下載)
-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(非本地檔案)






