Review Summarizer
Overview
Automatically scrape and analyze product reviews from multiple platforms to extract actionable insights. Generate comprehensive summaries with sentiment analysis, pros/cons identification, and data-driven recommendations.
Core Capabilities
1. Multi-Platform Review Scraping
Supported Platforms:
- - Amazon (product reviews)
- Google (Google Maps, Google Shopping)
- Yelp (business and product reviews)
- TripAdvisor (hotels, restaurants, attractions)
- Custom platforms (via URL pattern matching)
Scrape Options:
- - All reviews or specific time ranges
- Verified purchases only
- Filter by rating (1-5 stars)
- Include images and media
- Max review count limits
2. Sentiment Analysis
Analyzes:
- - Overall sentiment score (-1.0 to +1.0)
- Sentiment distribution (positive/neutral/negative)
- Key sentiment drivers (what causes positive/negative reviews)
- Trend analysis (sentiment over time)
- Aspect-based sentiment (battery life, quality, shipping, etc.)
3. Insight Extraction
Automatically identifies:
- - Top pros mentioned in reviews
- Common complaints and cons
- Frequently asked questions
- Use cases and applications
- Competitive comparisons mentioned
- Feature-specific feedback
4. Summary Generation
Output formats:
- - Executive summary (150-200 words)
- Detailed breakdown by category
- Pros/cons lists with frequency counts
- Statistical summary (avg rating, review count, etc.)
- CSV export for analysis
- Markdown report for documentation
5. Recommendation Engine
Generates recommendations based on:
- - Overall sentiment score
- Review quantity and recency
- Verified purchase ratio
- Aspect-based ratings
- Competitive comparison
Quick Start
Summarize Amazon Product Reviews
CODEBLOCK0
Compare Reviews Across Platforms
CODEBLOCK1
Generate Quick Summary
CODEBLOCK2
Scripts
scrape_reviews.py
Scrape and analyze reviews from a single URL.
Parameters:
- -
--url: Product or business review URL (required) - INLINECODE2 : Platform (amazon, google, yelp, tripadvisor) (auto-detected if omitted)
- INLINECODE3 : Maximum reviews to fetch (default: 100)
- INLINECODE4 : Filter to verified purchases only
- INLINECODE5 : Minimum rating to include (1-5)
- INLINECODE6 : Time filter (7d, 30d, 90d, all) (default: all)
- INLINECODE7 : Output file (default: summary.md)
- INLINECODE8 : Output format (markdown, json, csv)
Example:
CODEBLOCK3
compare_reviews.py
Compare reviews for a product across multiple platforms.
Parameters:
- -
--product: Product name or keyword (required) - INLINECODE11 : Comma-separated platforms (default: all)
- INLINECODE12 : Max reviews per platform (default: 50)
- INLINECODE13 : Output file
- INLINECODE14 : Output format (markdown, json)
Example:
CODEBLOCK4
sentiment_analysis.py
Analyze sentiment of review text.
Parameters:
- -
--input: Input file or text (required) - INLINECODE17 : Input type (file, text, url)
- INLINECODE18 : Analyze specific aspects (comma-separated)
- INLINECODE19 : Output file
Example:
CODEBLOCK5
quick_summary.py
Generate a brief executive summary.
Parameters:
- -
--url: Review URL (required) - INLINECODE22 : Brief summary only (no detailed breakdown)
- INLINECODE23 : Summary word count (default: 150)
- INLINECODE24 : Output file
Example:
CODEBLOCK6
export_data.py
Export review data for further analysis.
Parameters:
- -
--input: Summary file or JSON data (required) - INLINECODE27 : Export format (csv, json, excel)
- INLINECODE28 : Output file
Example:
CODEBLOCK7
Output Format
Markdown Summary Structure
CODEBLOCK8
Best Practices
For Arbitrage Research
- 1. Compare across platforms - Check Amazon vs eBay seller ratings
- Look for red flags - High return rates, quality complaints
- Check authenticity - Verified purchases only
- Analyze trends - Recent review sentiment vs older reviews
For Affiliate Content
- 1. Extract real quotes - Use actual customer feedback
- Identify use cases - How people use the product
- Find pain points - Problems the product solves
- Build credibility - Use data from many reviews
For Purchasing Decisions
- 1. Check recent reviews - Last 30-90 days
- Look at 1-star reviews - Understand worst-case scenarios
- Consider your needs - Match features to your use case
- Compare alternatives - Use compare_reviews.py
Integration Opportunities
With Price Tracker
Use review summaries to validate arbitrage opportunities:
CODEBLOCK9
With Content Recycler
Generate content from review insights:
CODEBLOCK10
Automation
Weekly Review Monitoring
CODEBLOCK11
Alert on Negative Trends
CODEBLOCK12
Data Privacy & Ethics
- - Only scrape publicly available reviews
- Respect robots.txt and rate limits
- Don't store PII (personal information)
- Aggregate data, don't expose individual reviewers
- Follow platform terms of service
Limitations
- - Rate limiting on some platforms
- Cannot access verified purchase status on all platforms
- Fake reviews may skew analysis
- Language support varies by platform
- Some platforms block scraping
Make data-driven decisions. Automate research. Scale intelligence.
评论摘要生成器
概述
自动抓取并分析来自多个平台的产品评论,提取可操作洞察。生成包含情感分析、优缺点识别和数据驱动建议的综合摘要。
核心功能
1. 多平台评论抓取
支持的平台:
- - Amazon(产品评论)
- Google(Google Maps、Google Shopping)
- Yelp(商家和产品评论)
- TripAdvisor(酒店、餐厅、景点)
- 自定义平台(通过URL模式匹配)
抓取选项:
- - 所有评论或特定时间范围
- 仅限已验证购买
- 按评分筛选(1-5星)
- 包含图片和媒体
- 最大评论数量限制
2. 情感分析
分析内容:
- - 整体情感评分(-1.0 至 +1.0)
- 情感分布(正面/中性/负面)
- 关键情感驱动因素(导致正面/负面评论的原因)
- 趋势分析(情感随时间变化)
- 基于方面的情感(电池续航、质量、配送等)
3. 洞察提取
自动识别:
- - 评论中提及的主要优点
- 常见投诉和缺点
- 常见问题
- 使用场景和应用
- 提及的竞品对比
- 功能特定反馈
4. 摘要生成
输出格式:
- - 执行摘要(150-200字)
- 按类别详细分解
- 带频率统计的优缺点列表
- 统计摘要(平均评分、评论数量等)
- 用于分析的CSV导出
- 用于文档的Markdown报告
5. 推荐引擎
基于以下因素生成建议:
- - 整体情感评分
- 评论数量和时效性
- 已验证购买比例
- 基于方面的评分
- 竞品对比
快速开始
汇总Amazon产品评论
python
使用 scripts/scrape_reviews.py
python3 scripts/scrape_reviews.py \
--url https://amazon.com/product/dp/B0XXXXX \
--platform amazon \
--max-reviews 100 \
--output amazon_summary.md
跨平台对比评论
python
使用 scripts/compare_reviews.py
python3 scripts/compare_reviews.py \
--product Sony WH-1000XM5 \
--platforms amazon,google,yelp \
--output comparison_report.md
生成快速摘要
python
使用 scripts/quick_summary.py
python3 scripts/quick_summary.py \
--url https://amazon.com/product/dp/B0XXXXX \
--brief \
--output summary.txt
脚本
scrape_reviews.py
从单个URL抓取并分析评论。
参数:
- - --url:产品或商家评论URL(必填)
- --platform:平台(amazon、google、yelp、tripadvisor)(省略时自动检测)
- --max-reviews:最大抓取评论数(默认:100)
- --verified-only:仅筛选已验证购买
- --min-rating:最低评分(1-5)
- --time-range:时间筛选(7d、30d、90d、all)(默认:all)
- --output:输出文件(默认:summary.md)
- --format:输出格式(markdown、json、csv)
示例:
bash
python3 scripts/scrape_reviews.py \
--url https://amazon.com/dp/B0XXXXX \
--platform amazon \
--max-reviews 200 \
--verified-only \
--format markdown \
--output product_summary.md
compare_reviews.py
跨多个平台对比产品评论。
参数:
- - --product:产品名称或关键词(必填)
- --platforms:逗号分隔的平台列表(默认:全部)
- --max-reviews:每个平台最大评论数(默认:50)
- --output:输出文件
- --format:输出格式(markdown、json)
示例:
bash
python3 scripts/compare_reviews.py \
--product AirPods Pro 2 \
--platforms amazon,google,yelp \
--max-reviews 75 \
--output comparison.md
sentiment_analysis.py
分析评论文本的情感。
参数:
- - --input:输入文件或文本(必填)
- --type:输入类型(file、text、url)
- --aspects:分析特定方面(逗号分隔)
- --output:输出文件
示例:
bash
python3 scripts/sentiment_analysis.py \
--input reviews.txt \
--type file \
--aspects battery,sound,quality \
--output sentiment_report.md
quick_summary.py
生成简短执行摘要。
参数:
- - --url:评论URL(必填)
- --brief:仅简短摘要(无详细分解)
- --words:摘要字数(默认:150)
- --output:输出文件
示例:
bash
python3 scripts/quick_summary.py \
--url https://yelp.com/biz/example-business \
--brief \
--words 100 \
--output summary.txt
export_data.py
导出评论数据以供进一步分析。
参数:
- - --input:摘要文件或JSON数据(必填)
- --format:导出格式(csv、json、excel)
- --output:输出文件
示例:
bash
python3 scripts/export_data.py \
--input product_summary.json \
--format csv \
--output reviews_data.csv
输出格式
Markdown摘要结构
markdown
产品评论摘要:[产品名称]
概述
- - 平台: Amazon
- 分析评论数: 247
- 平均评分: 4.3/5.0
- 整体情感: +0.72(正面)
关键洞察
主要优点
- 1. 出色的音质(89条评论)
- 电池续航优秀(76条评论)
- 佩戴舒适(65条评论)
主要缺点
- 1. 价格昂贵(34条评论)
- 连接问题(22条评论)
- 颜色选择有限(18条评论)
情感分析
- - 正面: 78%(193条评论)
- 中性: 15%(37条评论)
- 负面: 7%(17条评论)
推荐
✅
推荐 - 正面情感强烈,客户满意度高。
最佳实践
套利研究
- 1. 跨平台对比 - 检查Amazon与eBay卖家评分
- 寻找警示信号 - 高退货率、质量投诉
- 验证真实性 - 仅限已验证购买
- 分析趋势 - 近期评论情感与旧评论对比
联盟内容
- 1. 提取真实引用 - 使用实际客户反馈
- 识别使用场景 - 人们如何使用产品
- 发现痛点 - 产品解决的问题
- 建立可信度 - 使用大量评论数据
购买决策
- 1. 检查近期评论 - 最近30-90天
- 查看1星评论 - 了解最差情况
- 考虑自身需求 - 将功能与使用场景匹配
- 对比替代品 - 使用compare_reviews.py
集成机会
与价格追踪器集成
使用评论摘要验证套利机会:
bash
1. 发现套利机会
price-tracker/scripts/compare_prices.py --keyword Sony WH-1000XM5
2. 用评论验证
review-summarizer/scripts/scrape
reviews.py --url [amazonurl]
review-summarizer/scripts/scrape
reviews.py --url [ebayurl]
3. 做出明智决策
与内容回收器集成
从评论洞察生成内容:
bash
1. 汇总评论
review-summarizer/scripts/scrape
reviews.py --url [amazonurl]
2. 在文章中使用洞察
seo-article-gen --keyword [产品名称] 评测 --use-insights review_summary.json
3. 跨平台回收
content-recycler/scripts/recycle_content.py --input article.md
自动化
每周评论监控
bash
监控竞品产品
0 9
1 /path/to/review-summarizer/scripts/compare_reviews.py \
--product 竞品产品 \
--platforms amazon,google \
--output /path/to/competitor_analysis.md
负面趋势警报
bash
检查情感是否低于阈值
if [ $(g