用途:从 G2、Capterra、Trustpilot 抓取产品评论,适合监控竞品评论、收集用户反馈。
主要能力:单一 Python 脚本按平台分发到对应 Apify actor;支持关键词过滤(逗号分隔,OR 逻辑)、按最近 N 天过滤、限制抓取条数;输出 JSON 或 summary;各平台结果归一化,同时保留平台特有字段(如 G2 的作者公司规模与行业、Capterra 的分项评分与使用时长、Trustpilot 的点赞数与体验日期)。
使用方式:需设置 APIFY_API_TOKEN 环境变量或传 --token,无外部依赖(使用标准库 urllib)。示例: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 用 --url 传产品页 URL,可加 --keywords "pricing,support";Capterra 用 --company-name 传公司名而非 URL。常用参数:--platform(必填,g2/capterra/trustpilot)、--max-reviews(默认 50)、--days、--output(json/summary)、--timeout(默认 300 秒)。
限制:依赖 Apify 及其 actor,需有效 token;Capterra 按结果计费,Trustpilot 约 $0.20/1k 条,G2 有免费额度;实际可用性与字段以 Apify actor 为准,资料未提供更多平台或错误处理细节。