firecrawl-download

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

firecrawl download (invoked as
firecrawl x download
)

firecrawl download(调用方式为
firecrawl x download

Experimental.
download
is available under the
firecrawl x
command 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.
实验性功能
download
属于
firecrawl x
命令组。
前提条件
download
需要身份验证(无免密钥免费层级);如果没有凭证,CLI 会提示进行交互式登录。
首先映射网站源以发现页面,然后将每个页面抓取到
.firecrawl/
目录下的嵌套文件夹中。使用
--include-paths
参数可将非根 URL 限定到某个部分。自动化运行时需始终添加
-y
参数——如果不添加,命令会打开交互式向导,等待用户确认后才会继续执行。

Quick start

快速开始

bash
undefined
bash
undefined

With screenshots

包含截图

firecrawl x download https://docs.example.com --screenshot --limit 20 -y
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
firecrawl x download https://docs.example.com --format markdown,links --screenshot --limit 20 -y

Creates per page: index.md + links.txt + screenshot.png

每个页面会生成:index.md + links.txt + screenshot.png

Filter to specific sections

筛选特定板块

firecrawl x download https://docs.example.com --include-paths "/features,/sdks" -y
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/`.
firecrawl x download https://docs.example.com --exclude-paths "/zh,/ja,/fr,/es,/pt-BR" -y

运行 `firecrawl x download --help` 查看完整选项列表,包括 download 支持的抓取选项。

**完成标志**:命令成功退出,且预期文件存在于 `.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-map —— 仅发现 URL 而不下载
  • firecrawl-scrape —— 抓取单个页面
  • firecrawl-crawl —— 批量提取为 JSON(不保存为本地文件)