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