firecrawl-download
將整個網站下載為多種格式的組織化本地檔案。首先映射網站結構,然後將每個發現的頁面抓取到 .firecrawl/ 下的巢狀目錄中,支援 Markdown、連結、螢幕截圖及自訂格式組合。透過路徑模式(--include-paths、--exclude-paths)、搜尋查詢、子網域包含及頁面限制來過濾頁面以控制範圍。所有標準抓取選項均適用於下載:格式選擇、全頁螢幕截圖、主要內容...
npx skills add https://github.com/firecrawl/cli --skill firecrawl-downloadfirecrawl download (invoked as firecrawl x download)
Experimental.
downloadis available under thefirecrawl xcommand group.
Prerequisite: download requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.
Maps the site origin first to discover pages, then scrapes each one into nested directories under .firecrawl/. Use --include-paths to scope a non-root URL to one section. Automated runs always pass -y — without it the command opens an interactive wizard that blocks on a prompt.
Quick start
# With screenshots
firecrawl x download https://docs.example.com --screenshot --limit 20 -y
# Multiple formats (each saved as its own file per page)
firecrawl x download https://docs.example.com --format markdown,links --screenshot --limit 20 -y
# Creates per page: index.md + links.txt + screenshot.png
# Filter to specific sections
firecrawl x download https://docs.example.com --include-paths "/features,/sdks" -y
# Skip translations
firecrawl x download https://docs.example.com --exclude-paths "/zh,/ja,/fr,/es,/pt-BR" -y
Run firecrawl x download --help for the full option list, including which scrape options download supports.
Done when: the command exits successfully and the expected files exist under .firecrawl/.
See also
- firecrawl-map — just discover URLs without downloading
- firecrawl-scrape — scrape individual pages
- firecrawl-crawl — bulk extract as JSON (not local files)
- firecrawl-build-scrape — building bulk extraction into an app instead of running it here