firecrawl-search by firecrawl/cli
npx skills add https://github.com/firecrawl/cli --skill firecrawl-search支持可选内容抓取的网络搜索。以 JSON 格式返回搜索结果,可选择包含完整的页面内容。
# 基础搜索
firecrawl search "your query" -o .firecrawl/result.json --json
# 搜索并从结果中抓取完整页面内容
firecrawl search "your query" --scrape -o .firecrawl/scraped.json --json
# 过去一天内的新闻
firecrawl search "your query" --sources news --tbs qdr:d -o .firecrawl/news.json --json
| 选项 | 描述 |
|---|---|
--limit <n> | 最大结果数量 |
--sources <web,images,news> | 要搜索的源类型 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
--categories <github,research,pdf> | 按类别筛选 |
| `--tbs <qdr:h | d |
--location | 搜索结果的地理位置 |
--country <code> | 搜索的国家代码 |
--scrape | 同时为每个结果抓取完整页面内容 |
--scrape-formats | 抓取时的格式(默认:markdown) |
-o, --output <path> | 输出文件路径 |
--json | 以 JSON 格式输出 |
--scrape 会获取完整内容 — 无需从搜索结果中重新抓取 URL。这可以节省额度并避免重复抓取。-o 将结果写入 .firecrawl/ 目录,以避免上下文窗口过大。jq 提取 URL 或标题:jq -r '.data.web[].url' .firecrawl/search.json.firecrawl/search-{query}.json 或 .firecrawl/search-{query}-scraped.json每周安装量
6.1K
代码仓库
GitHub 星标数
205
首次出现
14 天前
安全审计
安装于
codex6.0K
opencode6.0K
github-copilot6.0K
gemini-cli6.0K
cursor6.0K
cline6.0K
Web search with optional content scraping. Returns search results as JSON, optionally with full page content.
# Basic search
firecrawl search "your query" -o .firecrawl/result.json --json
# Search and scrape full page content from results
firecrawl search "your query" --scrape -o .firecrawl/scraped.json --json
# News from the past day
firecrawl search "your query" --sources news --tbs qdr:d -o .firecrawl/news.json --json
| Option | Description |
|---|---|
--limit <n> | Max number of results |
--sources <web,images,news> | Source types to search |
--categories <github,research,pdf> | Filter by category |
| `--tbs <qdr:h | d |
--location | Location for search results |
--country <code> | Country code for search |
--scrape | Also scrape full page content for each result |
--scrape-formats | Formats when scraping (default: markdown) |
-o, --output <path> | Output file path |
--json | Output as JSON |
--scrape fetches full content — don't re-scrape URLs from search results. This saves credits and avoids redundant fetches..firecrawl/ with -o to avoid context window bloat.jq to extract URLs or titles: jq -r '.data.web[].url' .firecrawl/search.json.firecrawl/search-{query}.json or .firecrawl/search-{query}-scraped.jsonWeekly Installs
6.1K
Repository
GitHub Stars
205
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex6.0K
opencode6.0K
github-copilot6.0K
gemini-cli6.0K
cursor6.0K
cline6.0K
97,600 周安装