firecrawl-scrape
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFirecrawl Scrape Skill
Firecrawl 网页抓取技能
When to Use
使用场景
- Scrape content from any URL
- Extract structured data from web pages
- Search the web and get content
- 从任意URL抓取内容
- 从网页提取结构化数据
- 搜索网页并获取内容
Instructions
使用说明
bash
uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py \
--url "https://example.com" \
--format "markdown"bash
uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py \
--url "https://example.com" \
--format "markdown"Parameters
参数说明
- : URL to scrape
--url - : Output format -
--format,markdown,html(default: markdown)text - : (alternative) Search query instead of direct URL
--search
- : 要抓取的URL
--url - : 输出格式 -
--format,markdown,html(默认值:markdown)text - : (替代选项)使用搜索查询而非直接URL
--search
Examples
示例
bash
undefinedbash
undefinedScrape a page
Scrape a page
uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py
--url "https://docs.python.org/3/library/asyncio.html"
--url "https://docs.python.org/3/library/asyncio.html"
uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py
--url "https://docs.python.org/3/library/asyncio.html"
--url "https://docs.python.org/3/library/asyncio.html"
Search and scrape
Search and scrape
uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py
--search "Python asyncio best practices 2024"
--search "Python asyncio best practices 2024"
undefineduv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py
--search "Python asyncio best practices 2024"
--search "Python asyncio best practices 2024"
undefinedMCP Server Required
需配置MCP服务器
Requires server in mcp_config.json with FIRECRAWL_API_KEY.
firecrawl需要在mcp_config.json中配置带有FIRECRAWL_API_KEY的服务器。
firecrawl