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.    python -m venv venv
       source venv/bin/activate  # On Windows: venv\Scripts\activate      
    
  3. Navigate to the project directory:

    cd Leads_generation_gmap_business
    
  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_maps_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.0.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.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: google_map_scraper-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 691d373b5f01c640639bdf437964e6ed1cae0d21491a82d97aa629b00511146d
MD5 8ddc1c9aa48e9631261950a9599543ce
BLAKE2b-256 521b467d72d2440dc8c77100e4808135438f1ecbbc112a033ef294b2a83e933c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_map_scraper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09fd74dd9679033f12fedbe5097c7f1070b912657bacbd46511335531f74ce9e
MD5 0f0530be305c661a1136e9020b8b0be4
BLAKE2b-256 57135d5d0a69af1b3f6274b22162725f48b1082ef16a419aab3715db57b40899

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