Skip to content

This Python script utilizes the Chromium to perform web scraping and data extraction from Google Maps via Google. It is particularly designed for obtaining information about businesses, including their name, address, website, phone number, reviews, social medias and more.

License

Notifications You must be signed in to change notification settings

zohaibbashir/Google-to-Google-Maps-Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google-to-Google-Maps-Scrapper

This Python script utilizes the Chromium to perform web scraping and data extraction from Google Maps via Google. It is particularly designed for obtaining information about businesses, including their name, address, website, phone number, reviews, social medias and more.

Table of Contents

Prerequisite

  • This code requires a python version below 3.10
  • Any version of python beyond 3.9 may cause issues and may not work properly

Key Features

  • Data Scraping: The script scrapes data from Google Maps listings, extracting valuable information about businesses, such as their name, address, website, and contact details.

  • Review Analysis: It extracts review counts and average ratings, providing insights into businesses' online reputation.

  • Business Type Detection: The script identifies whether a business offers in-store shopping, in-store pickup, or delivery services.

  • Operating Hours: It extracts information about the business's operating hours.

  • Introduction Extraction: The script also scrapes introductory information about the businesses when available.

  • Data Cleansing: It cleanses and organizes the scraped data, removing redundant or unnecessary columns.

  • CSV Export: The cleaned data is exported to a CSV file for further analysis or integration with other tools.

This is how it works Visual of how the code works

Installation

  1. Clone this repository:

    git clone https://github.com/zohaibbashir/Google-to-Google-Maps-Scrapper.git
  2. Navigate to the project directory:

    cd Google-to-Google-Maps-Scrapper
  3. Install the required Python packages:

    pip install -r requirements.txt
    

How to Use:

To use this script, follow these steps:

  1. Run the script with Python:

     python main.py -s "search term" -t total

    Write the name of the place/business in "search term" and a number in place of "total" to get the number of listings. If listings are less than the number provided it is because there are fewer listings than the number provided

  2. The script will launch a browser, perform the search, and start scraping information. It will display the progress and save the results to a CSV file called result.csv.

About

This Python script utilizes the Chromium to perform web scraping and data extraction from Google Maps via Google. It is particularly designed for obtaining information about businesses, including their name, address, website, phone number, reviews, social medias and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages