Google Maps Reviews Scraper & Exporter (Enhanced)

Scrapes reviews from Google Maps with improved date handling and photo extraction

作者
sharmanhall
今日安裝
1
安裝總數
3
評價
0 0 0
版本
0.16
建立日期
2025-07-24
更新日期
2025-07-24
尺寸
15.0 KB
授權條款
MIT
腳本執行於

Google Maps Reviews Scraper & Exporter (Enhanced)

This enhanced user script adds a floating panel to Google Maps place pages, allowing you to scrape and export reviews with improved date accuracy and photo extraction capabilities.

Key Features

🔄 Enhanced Data Collection

  • Accurate Date Estimation: Converts relative dates ("2 weeks ago") into estimated actual dates
  • Review Photo Extraction: Captures all photos attached to reviews (not just profile pictures)
  • Comprehensive Data: Collects reviewer names, ratings, content, URLs, and metadata

📊 Multiple Export Options

  • JSON Export: Copy structured data to clipboard for API integration
  • CSV Export: Download spreadsheet-compatible files for analysis
  • High-Resolution Images: Automatically upgrades image URLs to higher quality versions

🚀 Smart Automation

  • Auto-scrolling: Automatically loads all available reviews
  • Review Expansion: Expands truncated "Show more" content
  • Progress Tracking: Real-time status updates during scraping
  • Duplicate Prevention: Avoids collecting the same review multiple times

Usage Instructions

  1. Navigate to any Google Maps place page (restaurant, business, etc.)
  2. Click "Scrape Reviews" to automatically collect all visible reviews
  3. Choose Export Format:
    • Copy to Clipboard: Get JSON data for programming/API use
    • Export as CSV: Download spreadsheet file for analysis

Data Collected

For each review, the script captures:

Field Description
reviewer_name Name of the person who wrote the review
profile_img_url High-resolution profile picture URL
review_date_raw Original date text (e.g., "2 weeks ago")
review_date_estimated Calculated actual date (YYYY-MM-DD format)
star_rating Rating from 1-5 stars
review_url Direct link to the specific review
review_content Full text content of the review
review_photos Array of photo URLs attached to the review
review_id Unique identifier for the review
scraped_at Timestamp of when data was collected

What's New in This Version

Addressed Major Limitations

  • Fixed Date Issues: No more vague "2 weeks ago" - now provides estimated actual dates
  • Added Photo Support: Extracts all photos users attach to their reviews
  • Better Data Quality: More reliable extraction with improved error handling

🎯 Enhanced Functionality

  • CSV Export Option: Perfect for Excel, Google Sheets, or data analysis
  • Improved UI: Better progress indicators and status messages
  • Higher Resolution Images: Automatically gets better quality photos
  • Smart Scrolling: Better detection of review containers for more reliable loading

Technical Improvements

  • Robust Date Parsing: Handles various relative date formats and converts to ISO dates
  • Multi-Selector Photo Detection: Uses multiple CSS selectors to find review images
  • Enhanced Error Handling: Graceful fallbacks when elements aren't found
  • Better Performance: More efficient scrolling and data extraction

Important Notes

  • Educational Use: This script is for educational and research purposes
  • Rate Limiting: Large numbers of requests may be limited by Google
  • Terms of Service: Please use responsibly and respect website terms
  • Data Accuracy: Date estimates are calculated based on scraping time and may have some variance

Perfect For

  • 📈 Business Intelligence: Analyze customer feedback and trends
  • 🔍 Market Research: Compare competitor reviews and ratings
  • 📊 Data Analysis: Export to Excel/Sheets for detailed analysis
  • 🤖 API Integration: JSON format ready for further processing
  • 📸 Content Analysis: Access to review photos for visual insights

Enhanced to address feedback about date accuracy and photo extraction - now providing much more comprehensive review data!