firecrawl

TotalClaw 作者 totalclaw

通过 Firecrawl API 进行网络搜索和抓取。当您需要搜索网络、抓取网站(包括大量 JS 页面)、抓取整个网站或从网页中提取结构化数据时使用。需要 FIRECRAWL_API_KEY 环境变量。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~firecrawl-search
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~firecrawl-search/file -o firecrawl-search.md
## 概述(中文)

通过 Firecrawl API 进行网络搜索和抓取。当您需要搜索网络、抓取网站(包括大量 JS 页面)、抓取整个网站或从网页中提取结构化数据时使用。需要 FIRECRAWL_API_KEY 环境变量。

## 原文

# Firecrawl

Web search and scraping via Firecrawl API.

## Prerequisites

Set `FIRECRAWL_API_KEY` in your environment or `.env` file:
```bash
export FIRECRAWL_API_KEY=fc-xxxxxxxxxx
```

## Quick Start

### Search the web
```bash
firecrawl_search "your search query" --limit 10
```

### Scrape a single page
```bash
firecrawl_scrape "https://example.com"
```

### Crawl an entire site
```bash
firecrawl_crawl "https://example.com" --max-pages 50
```

## API Reference

See [references/api.md](references/api.md) for detailed API documentation and advanced options.

## Scripts

- `scripts/search.py` - Search the web with Firecrawl
- `scripts/scrape.py` - Scrape a single URL
- `scripts/crawl.py` - Crawl an entire website