Skip to main content

A fast business scraper for Google Maps using Selenium

Project description

🗺️ Google Maps Business Scraper Appication

This project is a Web application that allows users to scrape business information from Google Maps based on a search keyword. The extracted data includes the business name, website, Google Maps link, phone number, and ratings. The results are downloadable in both JSON and CSV formats.


🚀 Features

  • 🔍 Input any business search keyword (e.g., restaurant in India)
  • 🧠 Automatically scrapes:
    • Business Name
    • Website
    • Google Maps Link
    • Phone Number
    • Rating & Review Count
  • 📁 Downloadable output in both:
    • results.json
    • results.csv
  • ✅ Clean and simple
  • 🕵️ Built-in support for scrolling Google Maps listings

Prerequisites

Before running this project, ensure you have the following installed:

  • Python (3.6 or higher recommended)
  • pip (usually comes with Python)

🛠 Installation

  1. Clone this repository

    git clone https://github.com/mukhtar-ul-islam88/google_map_scraper.git
    
  2. create the environment

         python -m venv venv
         source venv/bin/activate  # On Windows: venv\Scripts\activate      
    
  3. Navigate to the project directory:

    cd google_map_scraper
    
  4. Install the dependencies:

    pip install -r requirements.txt
    

✨ Usage Instructions

Type your search keyword (e.g., restaurant India) in the input box.

from google_map_scraper.scraper import GoogleMapsScraper

scraper = GoogleMapsScraper()
results = scraper.scrape("CA in Hyderabad India")

📁 Output

  • results.json — full list of businesses

  • results.csv — same in spreadsheet form

🧪 Testing

python tests/test_scraper.py

❗ Notes

  • The scraper uses Selenium with ChromeDriver, make sure Google Chrome is installed.

  • Google Maps may temporarily block access if too many requests are made in a short time.

  • The scraping process scrolls through Google Maps listings and collects visible information only.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_map_scraper-1.0.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_map_scraper-1.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file google_map_scraper-1.0.1.tar.gz.

File metadata

  • Download URL: google_map_scraper-1.0.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for google_map_scraper-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3b6c697475128b6ed50ebd0c33c771551136c24427c5c7b4d1c91c42aeaf050f
MD5 c36697246603bcad2880f917240738c6
BLAKE2b-256 cb0aee476e2329a7ce232adf757ab05d3e6b6a500982995d6ac1e058a0e922fd

See more details on using hashes here.

File details

Details for the file google_map_scraper-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for google_map_scraper-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14732c1b5d799dc372a1b6ad8931c41b4fed65c586726537e13cab7df0269036
MD5 d66633d6bb8552ef214a40bd32ba27de
BLAKE2b-256 fc73eef73251929a16be135376c44c0343d88d3e00774b0315ffc44f5f592bcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page