firecrawl-crawl
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesefirecrawl crawl
firecrawl crawl
Bulk extract content from a website. Crawls pages following links up to a depth/limit.
Prerequisite: requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.
crawl从网站批量提取内容。按照链接爬取页面,支持设置深度/数量限制。
前置条件: 功能需要身份验证(无免密钥免费层级);若无凭证,CLI会提示进行交互式登录。
crawlQuick start
快速开始
bash
undefinedbash
undefinedCrawl a docs section
爬取文档分区
firecrawl crawl "<url>" --include-paths /docs --limit 50 --wait -o .firecrawl/crawl.json
firecrawl crawl "<url>" --include-paths /docs --limit 50 --wait -o .firecrawl/crawl.json
Full crawl with depth limit
带深度限制的完整爬取
firecrawl crawl "<url>" --max-depth 3 --wait --progress -o .firecrawl/crawl.json
firecrawl crawl "<url>" --max-depth 3 --wait --progress -o .firecrawl/crawl.json
Check status of a running crawl
查看正在运行的爬取任务状态
firecrawl crawl <job-id>
Run `firecrawl crawl --help` for the full option list.
**Done when:** the crawl reaches a terminal status and the saved output under `.firecrawl/` contains the expected pages.firecrawl crawl <job-id>
运行 `firecrawl crawl --help` 获取完整选项列表。
**完成标志:** 爬取任务进入终端状态,且`.firecrawl/`目录下保存的输出文件包含预期页面内容。Tips
提示
- Use when you need the results immediately. It has no default timeout; use
--waitto bound polling. Without--timeout <seconds>, crawl returns a job ID for async polling.--wait - Scope crawls with whenever the request names a section — crawl only the pages you need.
--include-paths - Crawl consumes credits per page. Check before large crawls (
firecrawl credit-usagerequires authentication).credit-usage
- 若需要立即获取结果,请使用参数。该参数无默认超时时间;可使用
--wait设置轮询时长上限。不使用--timeout <seconds>时,爬取命令会返回任务ID用于异步轮询。--wait - 使用限定爬取范围——当目标是网站某个分区时,仅爬取你需要的页面。
--include-paths - 爬取每页会消耗积分。大规模爬取前,请使用查看积分使用情况(
firecrawl credit-usage功能需要身份验证)。credit-usage
See also
另请参阅
- firecrawl-scrape — scrape individual pages
- firecrawl-map — discover URLs before deciding to crawl
- firecrawl-download — download site to local files (uses map + scrape)
- firecrawl-scrape —— 爬取单个页面
- firecrawl-map —— 在决定爬取前发现网站URL
- firecrawl-download —— 将网站内容下载到本地文件(基于map + scrape功能实现)