Xpersona
E

E-commerce Data Scraper Pro

CLAWHUB · Unverified

智能数据抓取工具 - 从网页/API 提取结构化数据,支持批量处理 Skill: E-commerce Data Scraper Pro Owner: chungvic Summary: 智能数据抓取工具 - 从网页/API 提取结构化数据,支持批量处理 Tags: ecommerce:1.0.1, latest:1.0.1, scraper:1.0.1, shopify:1.0.1 Version history: v1.0.1 | 2026-04-04T09:11:18.086Z | auto - Updated skill name and description to "data-scraper" with broader data extraction capabilities. - Expanded supported features: now includes API integration, structured outputs (JSON, CSV, Excel), bulk

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s17c74402z77nc2ek4rf3ybne183pt97:ecommerce-scraper-pro
  1. Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-chungvic-ecommerce-scraper-pro/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

8,765 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: data-scraper
description: 智能数据抓取工具 - 从网页/API 提取结构化数据,支持批量处理
author: AI Company
version: 0.1.0
metadata: {"emoji": "🕷️", "category": "data"}
---

# Data Scraper - 智能数据抓取工具

从网页、API 自动提取结构化数据,支持批量处理和多种输出格式。

## 功能特性

- 🕷️ **网页数据抓取** - 自动识别并提取目标数据
- 📊 **结构化输出** - JSON、CSV、Excel 格式
- 🔄 **批量处理** - 支持多页面/多 URL 批量抓取
- 🛡️ **反爬规避** - 智能请求频率控制
- 🔌 **API 集成** - 支持 REST/GraphQL API
- 📝 **数据清洗** - 自动去重、格式化

## 使用方法

### 基础用法

```bash
# 抓取单个网页
uv run scripts/data-scraper.py scrape --url "https://example.com/products" --selector ".product"

# 抓取多个页面
uv run scripts/data-scraper.py scrape --urls-file urls.txt --output data.json

# 从 API 获取数据
uv run scripts/data-scraper.py api --endpoint "https://api.example.com/data" --auth "Bearer TOKEN"
```

### 高级选项

```bash
# 指定输出格式
uv run scripts/data-scraper.py scrape --url "https://example.com" --format csv --output products.csv

# 设置请求延迟(避免被封)
uv run scripts/data-scraper.py scrape --url "https://example.com" --delay 2

# 使用代理
uv run scripts/data-scraper.py scrape --url "https://example.com" --proxy "http://proxy:port"

# 定时抓取
uv run scripts/data-scraper.py scrape --url "https://example.com" --schedule "0 */6 * * *"
```

## 支持的数据类型

| 类型 | 描述 | 示例 |
|------|------|------|
| `product` | 电商产品 | 价格、名称、评分、库存 |
| `article` | 新闻/博客 | 标题、作者、日期、内容 |
| `job` | 招聘信息 | 职位、公司、薪资、要求 |
| `real_estate` | 房产信息 | 价格、面积、位置、户型 |
| `social` | 社交媒体 | 帖子、评论、点赞数 |
| `custom` | 自定义 | 通过 CSS/XPath 选择器定义 |

## 输出格式

### JSON(默认)
```json
{
  "url": "https://example.com",
  "scrapedAt": "2026-02-28T01:13:00Z",
  "data": [
    {
      "title": "产品标题",
      "price": "$99.99",
      "rating": 4.5
    }
  ]
}
```

### CSV
```csv
title,price,rating,url
产品标题,$99.99,4.5,https://...
```

### Excel
- 多工作表支持
- 自动格式化
- 数据透视表

## 定价建议

| 版本 | 功能 | 价格 |
|------|------|------|
| 基础版 | 单次抓取,100 页/月 | $49 |
| 专业版 | 批量抓取,1000 页/月,定时任务 | $149 |
| 企业版 | 无限抓取,API 访问,定制支持 | $499 |

## 示例

### 电商产品价格监控

**输入:**
```bash
uv run scripts/data-scraper.py scrape \
  --url "https://amazon.com/s?k=wireless+headphones" \
  --type product \
  --fields "title,price,rating,reviews" \
  --output headphones.json
```

**输出:**
```json
{
  "scrapedAt": "2026-02-28T01:13:00Z",
  "count": 50,
  "data": [
    {
      "title": "Sony WH-1000XM5",
      "price": "$349.99",
      "rating": 4.7,
      "reviews": 12453
    }
  ]
}
```

### 招聘信息抓取

**输入:**
```bash
uv run scripts/data-scraper.py scrape \
  --url "https://linkedin.com/jobs/search?keywords=python+developer" \
  --type job \
  --fields "title,company,location,salary" \
  --output jobs.csv
```

## 技术实现

- 使用 Playwright/BeautifulSoup 进行网页解析
- 支持 JavaScript 渲染页面
- 智能重试和错误处理
- 可集成到 OpenClaw 工作流

## 注意事项

⚠️ **合法合规使用**
- 遵守目标网站 robots.txt
- 不要过度请求导致服务器压力
- 尊重数据版权和隐私
- 仅抓取公开数据

## 更新日志

### v0.1.0 (2026-02-28)
- 初始版本发布
- 支持基础网页抓取
- 支持 JSON/CSV 输出
- 支持批量处理

## 待开发功能

- [ ] 图形化配置界面
- [ ] 数据可视化
- [ ] 自动字段识别
- [ ] 云存储集成
- [ ] 实时监控告警

---

**开发者:** VIC ai-company  
**许可:** MIT  
**支持:** 联系 main agent

README.md

# Data Scraper - 智能数据抓取工具 v0.1.0

🕷️ **VIC ai-company 第二款商业化技能**

---

## 快速开始

### 安装

```bash
# 复制技能到 OpenClaw workspace
cp -r data-scraper ~/.openclaw/workspace/skills/

# 安装依赖
cd ~/.openclaw/workspace/skills/data-scraper
pip install -r requirements.txt
```

### 使用示例

```bash
# 抓取电商产品
python3 scripts/data-scraper.py scrape \
  --url "https://example.com/products" \
  --type product \
  --output products.json

# 抓取招聘信息
python3 scripts/data-scraper.py scrape \
  --url "https://example.com/jobs" \
  --type job \
  --output jobs.csv

# API 数据获取
python3 scripts/data-scraper.py api \
  --endpoint "https://api.example.com/data" \
  --auth "Bearer YOUR_TOKEN" \
  --output api_data.json
```

---

## 功能特性

✅ **6 种数据类型**
- product(电商产品)
- article(新闻/博客)
- job(招聘信息)
- real_estate(房产信息)
- social(社交媒体)
- custom(自定义)

✅ **3 种输出格式**
- JSON(默认)
- CSV
- Excel

✅ **高级功能**
- 批量 URL 处理
- 智能请求延迟
- API 认证支持
- 定时任务(计划中)

---

## 定价策略

| 版本 | 价格 | 功能 |
|------|------|------|
| **基础版** | $49 | 单次抓取,100 页/月 |
| **专业版** | $149 | 批量抓取,1000 页/月,定时任务 |
| **企业版** | $499 | 无限抓取,API 访问,定制支持 |

---

## 应用场景

### 电商价格监控
```bash
# 监控竞争对手价格
python3 scripts/data-scraper.py scrape \
  --url "https://competitor.com/products" \
  --type product \
  --fields "title,price,stock" \
  --schedule "0 */6 * * *"
```

### 市场研究
```bash
# 收集行业数据
python3 scripts/data-scraper.py scrape \
  --urls-file industry_sites.txt \
  --type article \
  --output market_research.json
```

### 潜在客户开发
```bash
# 抓取企业名录
python3 scripts/data-scraper.py scrape \
  --url "https://directory.com/listings" \
  --type custom \
  --selector ".company" \
  --output leads.csv
```

---

## 开发路线图

### v0.1.0 (当前) ✅
- [x] 基础网页抓取
- [x] 多数据类型支持
- [x] JSON/CSV 输出

### v0.2.0 (计划中)
- [ ] JavaScript 渲染支持(Playwright)
- [ ] 自动字段识别
- [ ] 数据去重清洗

### v1.0.0 (目标)
- [ ] 图形化配置界面
- [ ] 云存储集成
- [ ] 实时监控告警
- [ ] API 服务化

---

## 技术栈

- Python 3.8+
- requests(HTTP 请求)
- beautifulsoup4(HTML 解析)
- pandas(数据处理,可选)
- openpyxl(Excel 输出,可选)

---

## 合法合规 ⚠️

**使用前请确认:**
- ✅ 遵守目标网站 robots.txt
- ✅ 控制请求频率,不过度负载
- ✅ 仅抓取公开数据
- ✅ 尊重数据版权和隐私
- ❌ 不要抓取个人敏感信息
- ❌ 不要用于恶意竞争

---

## 贡献者

**VIC ai-company**
- 开发:skill-dev agent
- 协调:main agent (CEO)
- 成立日期:2026-02-28

---

## 许可

MIT License

---

## 联系方式

- 购买/定制:联系 main agent
- 技术支持:查看文档或提交 issue

---

**🕷️ 让数据抓取变得简单!**

_meta.json

{
  "ownerId": "kn7cznn4j3cb0853gxtf1nqvb182354c",
  "slug": "ecommerce-scraper-pro",
  "version": "1.0.1",
  "publishedAt": 1775293878086
}

skill-card.md

## Description:

Extracts structured data from webpages and APIs for batch collection workflows.

This skill is ready for commercial/non-commercial use.

## Publisher:

[chungvic](https://clawhub.ai/user/chungvic)

### License/Terms of Use:

MIT-0

## Use Case:

External developers and data teams use this skill to prepare scraping workflows for ecommerce price monitoring, market research, lead collection, and API data extraction.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: API tokens can be sent to user-provided endpoints.

Mitigation: Use only trusted HTTPS endpoints, avoid placing valuable secrets directly on the command line, and prefer managed secret handling where available.

Risk: Local output files may contain sensitive scraped or API data.

Mitigation: Treat generated files as sensitive, restrict access, and remove data that should not be retained.

Risk: Scraping activity may conflict with site terms, robots.txt, copyright, or privacy requirements.

Mitigation: Review the target site's terms, robots.txt, and applicable privacy rules before scraping, and keep request rates controlled.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/chungvic/skills/ecommerce-scraper-pro)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with command examples; scraper runs can produce JSON, CSV, or Excel files.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May write local output files containing scraped webpage or API response data.]

## Skill Version(s):

1.0.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

requirements.txt

# Data Scraper 依赖

# HTTP 请求
requests>=2.28.0

# HTML 解析
beautifulsoup4>=4.11.0

# Excel 输出(可选)
openpyxl>=3.0.0

# 数据处理(可选)
pandas>=1.5.0

# JavaScript 渲染支持(可选,高级功能)
# playwright>=1.30.0

Sponsored

Ads related to E-commerce Data Scraper Pro and adjacent AI workflows.