Google Maps Reviews Scraper & Exporter (Pro)

Comprehensive Google Maps review scraper with filtering, multiple export formats, photo downloads, and business metadata

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.1.0 2025-11-27

    Changelog

    All notable changes to this project will be documented in this file.


    [1.1.0] - 2025-11-27

    Fixed

    • Business name extraction - Added fallback methods: extracts from URL path or document title when DOM selectors fail
    • Total review count - Now searches page text for review count patterns, not just specific elements
    • Reviewer profile URL - Added fallback to use review_url when profile link not found separately
    • Profile image sizes - Now handles both =w##-h## and =s## URL parameter patterns

    Improved

    • Business metadata extraction - Multiple fallback selectors for name, rating, address, category
    • Robustness - All extraction functions now try multiple selector strategies
    • Phone & Website - Added extraction for business phone number and website URL

    Technical

    • Expanded selector arrays for Google Maps DOM variations
    • Added URL-based business name parsing as fallback
    • Added document title parsing as secondary fallback
    • Improved regex patterns for review count detection

    [1.0.0] - 2025-11-27

    Added

    • Complete rewrite with modular architecture
    • XLSX export with SheetJS - creates multi-sheet workbooks (Reviews + Business Info)
    • Business metadata extraction - name, address, rating, total reviews, category
    • Owner response capture - optional toggle to include business replies
    • Star rating filters - checkboxes for 1-5 stars
    • Photo/text filters - only with photos, only with text content
    • Progress indicator - live progress bar with review count
    • Stop button - cancel scraping mid-operation
    • Smart filenames - auto-generates BusinessName_reviews_date.ext
    • Bulk photo download - download all review photos
    • Enhanced reviewer data - Local Guide level, review count, profile URL
    • High-res profile images - upgraded from 72px to 400px
    • CSV BOM encoding - UTF-8 BOM for Excel compatibility

    Fixed

    • Date parsing for "a year ago" - now correctly handles "a/an X ago" format (previously returned "unknown")
    • Profile image URL replacement - uses regex =w\d+-h\d+[^=]* instead of hardcoded =w36-h36
    • CSV escaping - properly handles \r\n characters in review content
    • Scroll container detection - multiple fallback selectors instead of fragile parent chain

    Changed

    • Panel UI - modern design with sections, toggles, and status indicators
    • Data schema - expanded fields, renamed for clarity
    • Version - bumped to 1.0.0 for major release

    Previous Versions (Enhanced Script)

    [0.16]

    • Added CSV export functionality
    • Added date parsing with estimated dates
    • Added review photo extraction
    • Added progress status updates

    0.13

    • Initial release
    • Basic review scraping
    • JSON clipboard copy
    • Floating panel UI
  • v1.0.0 2025-11-27