firecrawl-download

firecrawl-download

熱門

將整個網站下載為本地檔案 — 每頁可存為 Markdown、螢幕截圖或多種格式。當使用者想要將網站儲存在本地、下載文件以供離線使用、批次將頁面儲存為檔案,或說出「下載網站」、「儲存為本地檔案」、「離線副本」、「下載所有文件」或「儲存供參考」時,請使用此技能。結合網站地圖繪製與爬取,整理成有組織的本地目錄。

473星標
72分支
更新於 2026/6/19
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

另請參閱