✨
XCrawl Scraper
XCrawl Scraper · v1.0.0
这个包缺安装入口,装上也不会生效
缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
963 下载
0 安装
2.7k 收藏
3 浏览
简介
XCrawl Scraper
原始描述
XCrawl - AI-Powered Web Scraping API / AI 驱动网页爬虫,支持结构化数据提取
通过你的 Agent 添加
安装目录:xcrawl-scraper/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
Claude Code~/.claude/skills/xcrawl-scraper/
Codex CLI~/.codex/skills/xcrawl-scraper/
DeepSeek Harness~/.agents/skills/xcrawl-scraper/
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: XCrawl Scraper
description: XCrawl - AI-Powered Web Scraping API / AI 驱动网页爬虫,支持结构化数据提取
homepage: https://github.com/zhangss110/xcrawl-scraper
metadata: {"openclaw":{"emoji":"🕷️","requires":{"bins":["python","pip"],"env":[]}}}
tags: latest=1.0.0,scraper=1.0.0,web-scraping=1.0.0,ai=1.0.0,json=1.0.0,markdown=1.0.0
✨ 功能特点 / Features
功能
说明
🏷️ 网页爬取
支持 Markdown、HTML、JSON、Screenshot
🔍 搜索
搜索引擎结果爬取
🗺️ 网站地图
自动发现站点所有页面
🕷️ 站点爬取
批量爬取整个站点
📊 结构化数据
JSON Schema 自动提取结构化数据
🌐 代理支持
全球代理可选
📦 安装 / Installation
方式一:运行安装脚本
scripts\install.bat
方式二:手动安装
# 1. 安装依赖
pip install xcrawl
# 2. 配置 API Key
python scripts\xcrawl_scraper.py set-key YOUR_API_KEY
⚙️ 获取 API Key
- 访问 https://xcrawl.com 注册账号
- 获取 API Key
- 配置:
python scripts\xcrawl_scraper.py set-key YOUR_API_KEY
📖 使用方法 / Usage
1. 爬取网页 (基本)
python scripts\xcrawl_scraper.py scrape https://example.com markdown
2. 爬取多个格式
python scripts\xcrawl_scraper.py scrape https://example.com markdown html links
3. 结构化数据提取 (JSON)
| 功能 | 说明 |
|---|---|
| 🏷️ 网页爬取 | 支持 Markdown、HTML、JSON、Screenshot |
| 🔍 搜索 | 搜索引擎结果爬取 |
| 🗺️ 网站地图 | 自动发现站点所有页面 |
| 🕷️ 站点爬取 | 批量爬取整个站点 |
| 📊 结构化数据 | JSON Schema 自动提取结构化数据 |
| 🌐 代理支持 | 全球代理可选 |
📦 安装 / Installation
方式一:运行安装脚本
scripts\install.bat
方式二:手动安装
# 1. 安装依赖
pip install xcrawl
# 2. 配置 API Key
python scripts\xcrawl_scraper.py set-key YOUR_API_KEY
- 访问 https://xcrawl.com 注册账号
- 获取 API Key
- 配置:
python scripts\xcrawl_scraper.py set-key YOUR_API_KEY
📖 使用方法 / Usage
1. 爬取网页 (基本)
python scripts\xcrawl_scraper.py scrape https://example.com markdown
2. 爬取多个格式
python scripts\xcrawl_scraper.py scrape https://example.com markdown html links
python scripts\xcrawl_scraper.py scrape https://example.com json "提取产品名称和价格"
4. 搜索
python scripts\xcrawl_scraper.py search "web scraping"
5. 网站地图
python scripts\xcrawl_scraper.py map https://example.com
6. 站点爬取
python scripts\xcrawl_scraper.py crawl https://example.com
📋 命令列表
命令
说明
scrape <URL> [formats...]
爬取网页
search <query>
搜索
map <URL>
网站地图
crawl <URL>
站点爬取
set-key <API_KEY>
设置 API Key
config
显示配置
🔧 配置 / Configuration
python scripts\xcrawl_scraper.py search "web scraping"
python scripts\xcrawl_scraper.py map https://example.com
6. 站点爬取
python scripts\xcrawl_scraper.py crawl https://example.com
📋 命令列表
命令
说明
scrape <URL> [formats...]
爬取网页
search <query>
搜索
map <URL>
网站地图
crawl <URL>
站点爬取
set-key <API_KEY>
设置 API Key
config
显示配置
🔧 配置 / Configuration
python scripts\xcrawl_scraper.py crawl https://example.com
| 命令 | 说明 |
|---|---|
scrape <URL> [formats...] |
爬取网页 |
search <query> |
搜索 |
map <URL> |
网站地图 |
crawl <URL> |
站点爬取 |
set-key <API_KEY> |
设置 API Key |
config |
显示配置 |
🔧 配置 / Configuration
配置文件: scripts/config.json
{
"apiKey": "YOUR_API_KEY",
"apiUrl": "https://run.xcrawl.com",
"timeout": 60,
"defaultFormats": ["markdown"],
"defaultProxy": ""
}
📝 示例输出
Markdown 输出
# Example Domain
This domain is for use in illustrative examples in documents.
JSON 输出
{
"product_name": "iPhone 15 Pro",
"price": 999,
"currency": "USD"
}
📦 依赖
- Python >= 3.8
- xcrawl SDK
🤝 贡献 / Contributing
{
"product_name": "iPhone 15 Pro",
"price": 999,
"currency": "USD"
}
- Python >= 3.8
- xcrawl SDK
🤝 贡献 / Contributing
欢迎提交 Issue 和 Pull Request!
📄 许可证
MIT License
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
标签
同类 Skill
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
Self-Improving + Proactive Agent
Self-Improving + Proactive Agent
下载 177.1k
✨
Gog
Gog
下载 165k