mcpField
R
review-site-scraper

review-site-scraper

github.com/gooseworks-ai营销与增长1.3k45 次安装3 天前更新
代码仓库

关于 review-site-scraper

这是一个通过 Apify Actor 抓取 G2、Capterra 和 Trustpilot 产品评论的命令行技能。它统一整理结果,并支持关键词和日期筛选、数量限制以及 JSON 或摘要输出。

主要功能

  1. 01抓取三个平台的评论
  2. 02统一整理各平台结果
  3. 03按关键词或日期范围筛选
  4. 04设置评论数量上限
  5. 05输出 JSON 或摘要

适用场景

  1. 01收集 G2 上某产品的评论
  2. 02查找包含指定关键词的近期评论
  3. 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输入费用
G2focused_vanguard/g2-reviews-scraper--url(G2 产品页面 URL)提供免费套餐
Capterragetdataforme/capterra-reviews-scraper-bulk--company-name(公司名称,而非 URL)按结果付费
Trustpilotagents/trustpilot-reviews--url(Trustpilot 评价页面 URL)约 $0.20/1k 条评价

CLI 参考

标志默认值描述
--platform必填g2、capterra 或 trustpilot
--url无产品评价页面 URL(G2 和 Trustpilot 必填)
--company-name无要搜索的公司名称(仅适用于 Capterra)
--max-reviews50要抓取的评价数量上限
--keywords无用于筛选的关键词(逗号分隔,采用 OR 逻辑)
--days无仅包含最近 N 天内的评价
--outputjson输出格式:json 或 summary
--token环境变量Apify token(建议使用 APIFY_API_TOKEN 环境变量)
--timeout300Apify 运行的最长秒数

标准化输出架构

所有平台的输出均经过标准化,但各平台都有特定字段。

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