A Python-based Google Maps Scraper that automates business data extraction from Google Maps for lead generation, marketing, and outreach.
It gathers structured business information such as name, address, phone number, ratings, and website links, and stores them in a CSV file.
- 🔍 Extracts thousands of business leads efficiently.
- 📋 Collects details such as:
- Business Name
- Address
- Contact Number
- Ratings & Reviews
- Website (if available)
- 💾 Saves results into a CSV file.
- 🛠️ Built with Selenium, BeautifulSoup, Requests, and Pandas.
- ☁️ Can be run locally or on Google Colab (Chrome & ChromeDriver setup included).
git clone https://github.com/your-username/google-maps-scraper.git
cd google-maps-scraperpip install -r requirements.txtOr install manually:
pip install selenium beautifulsoup4 requests pandasThe script includes commands to install Chromium and ChromeDriver automatically:
os.system('apt-get update > /dev/null 2>&1')
os.system('apt install chromium-chromedriver > /dev/null 2>&1')
os.system('cp /usr/lib/chromium-browser/chromedriver /usr/bin')- Open the script Jupyter/Colab notebook.
- Enter your search keyword (e.g.,
"dentists in New York"). - Run the scraper, it will:
- Open Google Maps
- Scroll through the search results
- Extract business data
- The results will be saved automatically in a file named
leads.csv.
This project is for educational purposes only. Scraping Google Maps may violate Google’s Terms of Service. Please use responsibly and ensure compliance with local laws before deploying for commercial use.
👩💻 Developer: Ayesha Khan
🔗 LinkedIn: www.linkedin.com/in/ayeshajadoon
📩 Email: ayesha.k.jadoon@gmail.com