firecrawl/cli

firecrawl-download

Save a site or section as local files (markdown, screenshots).

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

firecrawl download (invoked as 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.

Quick start

bash
# 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

来自同一仓库

更多 Skills

全部 Skills