firecrawl-map

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

firecrawl map

firecrawl map

Discover URLs on a site. Use
--search
to find a specific page within a large site.
Prerequisite:
map
requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.
发现网站上的URL。使用
--search
参数在大型网站中查找特定页面。
前提条件:
map
功能需要身份验证(无免密钥免费层级);如果没有凭据,CLI会提示进行交互式登录。

Quick start

快速开始

bash
undefined
bash
undefined

Find 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
    map --search
    to find the right URL, then
    scrape
    it.
  • Example:
    map https://docs.example.com --search "auth"
    → found
    /docs/api/authentication
    scrape
    that URL.
  • 测绘+抓取是常见模式:使用
    map --search
    找到正确的URL,然后使用
    scrape
    命令抓取它。
  • 示例:
    map https://docs.example.com --search "auth"
    → 找到
    /docs/api/authentication
    → 抓取该URL。

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功能)