关于 review-site-scraper
这是一个通过 Apify Actor 抓取 G2、Capterra 和 Trustpilot 产品评论的命令行技能。它统一整理结果,并支持关键词和日期筛选、数量限制以及 JSON 或摘要输出。
主要功能
- 01抓取三个平台的评论
- 02统一整理各平台结果
- 03按关键词或日期范围筛选
- 04设置评论数量上限
- 05输出 JSON 或摘要
适用场景
- 01收集 G2 上某产品的评论
- 02查找包含指定关键词的近期评论
- 03将标准化评论数据导出为 JSON
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ gooseworks-ai/ goose-skills --skill review-site-scraper安装后在 Claude Code 中输入/review-site-scraper确认已加载。
附带文件scripts/scrape_reviews.pyskill.meta.json
详细介绍
评价网站抓取工具
使用特定平台的 Apify Actor,从 G2、Capterra 和 Trustpilot 抓取产品评价。
快速开始
需要 APIFY_API_TOKEN 环境变量(或使用 --token 标志)。无需外部依赖(使用标准库 urllib)。
# Trustpilot reviews
python3 skills/capabilities/review-site-scraper/scripts/scrape_reviews.py \
--platform trustpilot \
--url "https://www.trustpilot.com/review/example.com" \
--max-reviews 10 --output summary
# G2 reviews with keyword filter
python3 skills/capabilities/review-site-scraper/scripts/scrape_reviews.py \
--platform g2 \
--url "https://www.g2.com/products/example/reviews" \
--keywords "pricing,support"
# Capterra reviews (uses company name, not URL)
python3 skills/capabilities/review-site-scraper/scripts/scrape_reviews.py \
--platform capterra \
--company-name "HubSpot CRM" \
--max-reviews 20
支持的平台
| 平台 | Actor | 输入 | 费用 |
|---|---|---|---|
| G2 | focused_vanguard/g2-reviews-scraper | --url(G2 产品页面 URL) | 提供免费套餐 |
| Capterra | getdataforme/capterra-reviews-scraper-bulk | --company-name(公司名称,而非 URL) | 按结果付费 |
| Trustpilot | agents/trustpilot-reviews | --url(Trustpilot 评价页面 URL) | 约 $0.20/1k 条评价 |
CLI 参考
| 标志 | 默认值 | 描述 |
|---|---|---|
--platform | 必填 | g2、capterra 或 trustpilot |
--url | 无 | 产品评价页面 URL(G2 和 Trustpilot 必填) |
--company-name | 无 | 要搜索的公司名称(仅适用于 Capterra) |
--max-reviews | 50 | 要抓取的评价数量上限 |
--keywords | 无 | 用于筛选的关键词(逗号分隔,采用 OR 逻辑) |
--days | 无 | 仅包含最近 N 天内的评价 |
--output | json | 输出格式:json 或 summary |
--token | 环境变量 | Apify token(建议使用 APIFY_API_TOKEN 环境变量) |
--timeout | 300 | Apify 运行的最长秒数 |
标准化输出架构
所有平台的输出均经过标准化,但各平台都有特定字段。
G2 输出字段:
{
"platform": "g2",
"id": "review-id",
"product_name": "Product Name",
"title": null,
"text": "Review body text",
"rating": 4,
"author": "Reviewer Name",
"author_title": "Job Title",
"author_company": "Company Name",
"author_company_size": "51-200",
"author_industry": "Software",
"date": "2026-02-18",
"source": "organic",
"url": "https://..."
}
Capterra 输出字段:
{
"platform": "capterra",
"title": "Review title",
"text": "Review body text",
"overall_rating": 4,
"ease_of_use": 5,
"customer_service": 3,
"features": 4,
"author": "Reviewer Name",
"job_title": "Marketing Manager",
"industry": "Marketing and Advertising",
"usage_duration": "1-2 years",
"date": "2026-02-18",
"url": "https://..."
}
Trustpilot 输出字段:
{
"platform": "trustpilot",
"id": "review-id",
"title": "Review title",
"text": "Review body text",
"rating": 4,
"author": "Reviewer Name",
"date": "2026-02-18T12:00:00.000Z",
"experienced_date": "2026-02-15T00:00:00.000Z",
"likes": 2,
"input_source": "organic",
"url": "https://..."
}
评论
支持 Markdown