SKILL.md
唯讀
名稱
firecrawl-download
描述
將整個網站下載為本地檔案 — 每頁可存為 Markdown、螢幕截圖或多種格式。當使用者想要將網站儲存在本地、下載文件以供離線使用、批次將頁面儲存為檔案,或說出「下載網站」、「儲存為本地檔案」、「離線副本」、「下載所有文件」或「儲存供參考」時,請使用此技能。結合網站地圖繪製與爬取,整理成有組織的本地目錄。
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(非本地檔案)






