mcpField
F
firecrawl-map

firecrawl-map

github.com/firecrawl生产力1395.8k 次安装6 天前更新
代码仓库

关于 firecrawl-map

用于通过 Firecrawl map 发现网站 URL 的技能,可按搜索条件在大型站点中定位特定页面,并据此选择后续抓取或爬取的页面。

主要功能

  1. 01发现站点 URL
  2. 02按搜索条件筛选 URL
  3. 03将 URL 列表保存为文本或 JSON

适用场景

  1. 01定位文档中的身份验证页面
  2. 02选择后续要抓取的页面
  3. 03整理站点 URL 清单

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/firecrawl/skills --skill firecrawl-map

安装后在 Claude Code 中输入/firecrawl-map确认已加载。

详细介绍

firecrawl map

发现网站上的 URL。使用 --search 在大型网站中查找特定页面。

前置条件: map 需要身份验证(没有免密钥免费版);如果没有凭据,CLI 会提示你交互式登录。

快速开始

# Find a specific page on a large site
firecrawl map "<url>" --search "authentication" -o .firecrawl/filtered.txt

# Get all URLs
firecrawl map "<url>" --limit 500 --json -o .firecrawl/urls.json

运行 firecrawl map --help 查看完整选项列表(站点地图处理、子域名等)。

完成标志: URL 列表已保存到 .firecrawl/ 下,并且你已选好接下来要抓取或爬取的 URL。

提示

  • Map + scrape 是常见模式:使用 map --search 找到合适的 URL,然后对其运行 scrape。
  • 示例:map https://docs.example.com --search "auth" → 找到 /docs/api/authentication → 对该 URL 运行 scrape。

另请参阅

评论

支持 Markdown