firecrawl-developer-index
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesefirecrawl developer
firecrawl developer
Answer a developer question from the primary source: the issue, the merged pull request that fixed it, or the README/docs passage that states the contract.
从一手来源回答开发者问题:相关问题、修复该问题的已合并Pull Request,或说明契约的README/文档段落。
Quick start
快速开始
bash
mkdir -p .firecrawl
firecrawl developer "how do I configure retries" --limit 10 -o .firecrawl/developer.json --json
jq -r '.results[] | .id, .url, .passages[].text' .firecrawl/developer.jsonRun for the full option list.
firecrawl developer --helpHTTP: . MCP: . Each hit carries , , . Kind is the prefix (, , , ). Hits do not carry a field.
GET|POST https://api.firecrawl.dev/v2/search/developerfirecrawl_developer_searchidurlpassagesiddoc:issue:pull_request:readme:typeDone when: the answer quotes a matched passage and cites its (fall back to when is absent), or you have moved to the open web because the index had nothing to say.
urlurltitlebash
mkdir -p .firecrawl
firecrawl developer "how do I configure retries" --limit 10 -o .firecrawl/developer.json --json
jq -r '.results[] | .id, .url, .passages[].text' .firecrawl/developer.json运行 获取完整选项列表。
firecrawl developer --helpHTTP接口:。MCP命令:。每条结果包含、、。类型由前缀标识(、、、)。结果不包含字段。
GET|POST https://api.firecrawl.dev/v2/search/developerfirecrawl_developer_searchidurlpassagesiddoc:issue:pull_request:readme:type完成条件: 答案引用匹配的段落并注明其(当标题缺失时,回退使用),或索引中无相关内容时转向公开网页搜索。
urlurlTips
提示
- Default first move is . Use
firecrawl developeronly when you are already running a web search and want developer hits in the same call (no passage control, no index filters).search --categories developer - Literal error or stack trace: search the string plus the library name. On HTTP, . Strip paths, line numbers, and ids, then retry.
types=["issue","pull_request"] - API contract: and
readmeare authoritative. A merged PR supersedes an issue report. Never answer from an opening report alone.doc - Scope last: search the whole index, then narrow with HTTP ,
types, orrepos. If a scoped search is empty, read the echoedsourcesflag before concluding the repo is missing.indexed - Repository filters (,
language,topic,license, …) dropmin_starsresults unless you also passdoc.sources,types,repos,sources, and those repository filters are HTTP-only.passages - Comparison, opinion, news, or an unindexed project: , then
firecrawl search.firecrawl scrape
- 默认首选操作是。仅当你已在进行网页搜索且希望在同一调用中获取开发者相关结果(无段落控制、无索引筛选)时,才使用
firecrawl developer。search --categories developer - 字面错误或堆栈跟踪:搜索该字符串加上库名称。在HTTP请求中,设置。移除路径、行号和ID后重试。
types=["issue","pull_request"] - API契约:和
readme是权威来源。已合并的PR优先级高于问题报告。切勿仅根据初始问题报告作答。doc - 最后再缩小范围:先搜索整个索引,再通过HTTP参数、
types或repos缩小范围。如果限定范围的搜索结果为空,先查看返回的sources标记,再判断仓库是否未被收录。indexed - 仓库筛选器(、
language、topic、license等)会排除min_stars结果,除非同时传入doc参数。sources、types、repos、sources以及这些仓库筛选器仅支持HTTP请求。passages - 如需进行对比、获取观点、新闻或查找未被索引的项目:使用,然后调用
firecrawl search。firecrawl scrape
See also
另请参阅
- firecrawl-search — open web, or in the same call
search --categories developer - firecrawl-scrape — full page when a hit is right but you need all of it
- firecrawl-research-index — papers, not this index
- firecrawl-search — 公开网页搜索,或在同一调用中使用
search --categories developer - firecrawl-scrape — 当找到相关结果但需要完整页面内容时使用
- firecrawl-research-index — 用于搜索论文,而非本索引