Loading...
Loading...
Compare original and translation side by side
firecrawl --helpfirecrawl <command> --helpfirecrawl-buildfirecrawl-workflowsfirecrawl --helpfirecrawl <command> --helpfirecrawl-buildfirecrawl-workflowsfirecrawl --statusfirecrawl --statusmap --search--page--goal| Need | Command | When |
|---|---|---|
| Find pages on a topic | | No specific URL yet |
| Find research papers | | Biomedical/clinical/scientific literature — use the paper index |
| Answer a coding question | | Issues, merged PRs, READMEs, and docs — not a general web page |
| Get a page's content | | Have a URL, page is static or JS-rendered |
| Find URLs within a site | | Need to locate a specific subpage |
| Bulk extract a site section | | Need many pages (e.g., all /docs/) |
| AI-powered data extraction | | Need structured data from complex sites |
| Interact with a page | | Content requires clicks, form fills, pagination, or login |
| Download a site to files | | Save an entire site as local files |
| Parse a local file | | File on disk (PDF, DOCX, XLSX, etc.) — not a URL |
| Watch pages for changes | | Schedule recurring scrapes/crawls, diff against snapshots |
firecrawl <command> --helpscrapescrapeinteractsearchmonitorsearch --scrape.firecrawl/map --search--page--goal| 需求 | 命令 | 使用场景 |
|---|---|---|
| 查找特定主题的页面 | | 尚无特定URL时 |
| 查找研究论文 | | 生物医学/临床/科学文献——使用论文索引 |
| 解答编码问题 | | 问题、合并PR、README和文档——非通用网页 |
| 获取页面内容 | | 已有URL,页面为静态或JS渲染页面 |
| 查找网站内的URL | | 需要定位特定子页面 |
| 批量提取网站板块内容 | | 需要获取大量页面(例如所有/docs/页面) |
| AI驱动的数据提取 | | 需要从复杂网站提取结构化数据 |
| 与页面交互 | | 内容需要点击、表单填写、分页或登录操作 |
| 将网站下载为本地文件 | | 将整个网站保存为本地文件 |
| 解析本地文件 | | 磁盘上的文件(PDF、DOCX、XLSX等)——非URL |
| 监控页面变更 | | 定期执行爬取/批量爬取,与快照对比差异 |
firecrawl <command> --helpscrapescrapeinteractsearchmonitorsearch --scrape.firecrawl/search --categories researchFIRECRAWL_API_KEY.envfirecrawl-buildfirecrawl-workflowssearch --categories researchFIRECRAWL_API_KEYfirecrawl-buildfirecrawl-workflows.firecrawl/-o.firecrawl/.gitignore?&firecrawl search "react hooks" -o .firecrawl/search-react-hooks.json --json
firecrawl scrape "<url>" -o .firecrawl/page.md.firecrawl/search-{query}.json
.firecrawl/search-{query}-scraped.json
.firecrawl/{site}-{path}.mdgrepheadwc -l .firecrawl/file.md && head -50 .firecrawl/file.md
grep -n "keyword" .firecrawl/file.md--format markdown,linksjqjq -r '.data.web[].url' .firecrawl/search.json-o.firecrawl/.firecrawl/.gitignore?&firecrawl search "react hooks" -o .firecrawl/search-react-hooks.json --json
firecrawl scrape "<url>" -o .firecrawl/page.md.firecrawl/search-{query}.json
.firecrawl/search-{query}-scraped.json
.firecrawl/{site}-{path}.mdgrepheadwc -l .firecrawl/file.md && head -50 .firecrawl/file.md
grep -n "keyword" .firecrawl/file.md--format markdown,linksjqjq -r '.data.web[].url' .firecrawl/search.jsonfirecrawl search-feedbackfirecrawl feedback <endpoint> <jobId>/v2/feedbacksearchscrapeparsemapfirecrawl feedback scrape "$SCRAPE_ID" \
--rating partial \
--issues missing_markdown \
--tags docs \
--note "The pricing table was missing from the markdown output." \
--url "https://example.com/pricing" \
--page-numbers 1 \
--silent &export FIRECRAWL_NO_ENDPOINT_FEEDBACK=1firecrawl search-feedbackfirecrawl feedback <endpoint> <jobId>/v2/feedbacksearchscrapeparsemapfirecrawl feedback scrape "$SCRAPE_ID" \
--rating partial \
--issues missing_markdown \
--tags docs \
--note "The pricing table was missing from the markdown output." \
--url "https://example.com/pricing" \
--page-numbers 1 \
--silent &export FIRECRAWL_NO_ENDPOINT_FEEDBACK=1firecrawl --statusfirecrawl scrape "<url-1>" -o .firecrawl/1.md &
firecrawl scrape "<url-2>" -o .firecrawl/2.md &
firecrawl scrape "<url-3>" -o .firecrawl/3.md &
waitfirecrawl --statusfirecrawl scrape "<url-1>" -o .firecrawl/1.md &
firecrawl scrape "<url-2>" -o .firecrawl/2.md &
firecrawl scrape "<url-3>" -o .firecrawl/3.md &
waitfirecrawl credit-usage
firecrawl credit-usage --json --pretty -o .firecrawl/credits.jsonfirecrawl credit-usage
firecrawl credit-usage --json --pretty -o .firecrawl/credits.json