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.jsonresults.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
-
Clone this repository
git clone https://github.com/mukhtar-ul-islam88/google_map_scraper.git
-
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Navigate to the project directory:
cd Leads_generation_gmap_business
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
691d373b5f01c640639bdf437964e6ed1cae0d21491a82d97aa629b00511146d
|
|
| MD5 |
8ddc1c9aa48e9631261950a9599543ce
|
|
| BLAKE2b-256 |
521b467d72d2440dc8c77100e4808135438f1ecbbc112a033ef294b2a83e933c
|
File details
Details for the file google_map_scraper-1.0.0-py3-none-any.whl.
File metadata
- Download URL: google_map_scraper-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09fd74dd9679033f12fedbe5097c7f1070b912657bacbd46511335531f74ce9e
|
|
| MD5 |
0f0530be305c661a1136e9020b8b0be4
|
|
| BLAKE2b-256 |
57135d5d0a69af1b3f6274b22162725f48b1082ef16a419aab3715db57b40899
|