This Python script uses Selenium to scrape ratings, number of reviews, and titles from a list of Google Maps URLs and exports the collected data into an Excel file along with a timestamp.
β οΈ Note: This script is for educational and research purposes. Avoid scraping websites against their terms of service.
- π Scrapes:
- Location Title
- Rating
- Number of Reviews
- π Adds timestamp to track when the data was collected
- πΎ Exports clean data into an Excel file
- π₯οΈ Headless Chrome browser automation using Selenium
Install the required Python packages:
pip install selenium pandas openpyxl