firecrawl-map
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesefirecrawl map
firecrawl map
Discover URLs on a site. Use to find a specific page within a large site.
--searchPrerequisite: requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.
map发现网站上的URL。使用参数在大型网站中查找特定页面。
--search前提条件: 功能需要身份验证(无免密钥免费层级);如果没有凭据,CLI会提示进行交互式登录。
mapQuick start
快速开始
bash
undefinedbash
undefinedFind a specific page on a large site
在大型网站上查找特定页面
firecrawl map "<url>" --search "authentication" -o .firecrawl/filtered.txt
firecrawl map "<url>" --search "authentication" -o .firecrawl/filtered.txt
Get all URLs
获取所有URL
firecrawl map "<url>" --limit 500 --json -o .firecrawl/urls.json
Run `firecrawl map --help` for the full option list (sitemap handling, subdomains, etc.).
**Done when:** the URL list is saved under `.firecrawl/` and you have selected the URLs to scrape or crawl next.firecrawl map "<url>" --limit 500 --json -o .firecrawl/urls.json
运行`firecrawl map --help`查看完整选项列表(站点地图处理、子域名等)。
**完成标志:** URL列表已保存到`.firecrawl/`目录下,并且你已选择好接下来要抓取或爬取的URL。Tips
技巧
- Map + scrape is a common pattern: use to find the right URL, then
map --searchit.scrape - Example: → found
map https://docs.example.com --search "auth"→/docs/api/authenticationthat URL.scrape
- 测绘+抓取是常见模式:使用找到正确的URL,然后使用
map --search命令抓取它。scrape - 示例:→ 找到
map https://docs.example.com --search "auth"→ 抓取该URL。/docs/api/authentication
See also
另请参阅
- firecrawl-scrape — scrape the URLs you discover
- firecrawl-crawl — bulk extract instead of map + scrape
- firecrawl-download — download entire site (uses map internally)
- firecrawl-scrape — 抓取你发现的URL
- firecrawl-crawl — 批量提取,替代测绘+抓取的组合
- firecrawl-download — 下载整个网站(内部使用map功能)