Skip to content

πŸπŸ—ΊοΈ This Python script empowers you to scrape data from Google Maps, enabling extraction of valuable information like addresses, reviews, and ratings. πŸ“‹πŸ’β­

Notifications You must be signed in to change notification settings

kawsarlog/projectMapsData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Google Maps Scraping Script

Python Version Selenium Version Requests Version BeautifulSoup Version Openpyxl Version ChromeDriver Version

πŸπŸ—ΊοΈ This Python script enables scraping data from Google Maps using Selenium. It automates the process of extracting information from map searches and saves the data to an Excel file using the openpyxl library. πŸ“ŠπŸ”

Prerequisites

  • Python 3.9
  • selenium 4.1.0
  • requests 2.28.1
  • bs4 0.0.1
  • openpyxl 3.0.9
  • chromedriver-autoinstaller (latest version)

Installation

  1. Clone the repository: git clone https://github.com/kawsarlog/projectMapsData.git
  2. Navigate to the project directory: cd google-maps-scraping
  3. Install the required dependencies: pip install -r requirements.txt

Usage

Before running the script, make sure Google Chrome is installed and the appropriate version of ChromeDriver is automatically installed using chromedriver-autoinstaller.

Run the script by executing the following command:

python google_maps_scraping.py

Contact

For any questions or feedback, feel free to reach out:


Note: This project is for educational purposes only. Please review and comply with Google's Terms of Service when scraping data from Google Maps.