Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

unchaineddev/google-maps-scraper

Open more actions menu

Repository files navigation

Google Maps Scraper

This scrapes company information from Google Maps using selenium and Python

After cloning the repository

How to Run?

Step 1

Save all the keywords in the 'io_folder'

Recommended:

  • use the right keywords to scrape the information
  • the typical format for accurate results is: company name, city, state

Step 2

Run the file named main.py

The result will be saved in the io_folder with the file named file.csv

How to scrape data without the browser opening?

  • Un-comment this line

# options.add_argument('--headless')

How many parallel processes?

  • By default, there is 1 process. You can increase or decrease it as per your requirements.

To do this change this line:

num_processes = 1     # change this line
# """rest of the code"""

What if Connection is insecure?

If connection is insecure, you likely need to update the ca.rt certificate, which is in the security_certificate/ folder.

Steps:

  1. Download the certificate using this link
  2. Open chrome > settings > privacy and security
  3. Scroll down and click on 'Manage device certificates'
  4. Selected 'Trusted Root Certificates'
  5. Import the downloaded file and click finish.

About

Get all the company information from Google Maps using Python & Selenium.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.