Giter Club home page Giter Club logo

bizhub-google-maps-scraper's Introduction

Google Maps Scraper

Google Maps Scraper CSV Result

This is a Python script that allows you to scrape information from Google Maps, including business names, addresses, phone numbers, websites, ratings, and reviews. The script can be configured to search for specific queries and can scrape either the first page of results or all pages of results.

Installation

  1. Clone Starter Template
git clone https://github.com/omkarcloud/google-maps-scraper
cd google-maps-scraper
  1. Install dependencies
python -m pip install -r requirements.txt
  1. Run Project
python main.py

The script will start running and output progress updates to the console. When the scraper is complete, it will generate a CSV file named finished.csv in the output directory. The CSV file will contain the business name, address, phone number, website, rating, and review for each result.

Additionaly, you don't have to configure the Selenium driver as it will automatically download the appropriate driver based on your Chrome browser version.

Configuration

  • To specify the Google search queries to be used in the scraper, open the src/scraper.py file in your preferred text editor and update the Task.queries list with your desired queries.

  • To specify whether to scrape the first page of Google Maps results or all pages of results, open the src/scraper.py file and set the Task.GET_FIRST_PAGE variable to True or False as appropriate.

Thanks

The Google Maps Scraper project uses the Bose Framework, a web scraping framework that is Swiss Army Knife for web scraping. I encourage you to learn about Bose Framework at https://www.omkar.cloud/bose/

If my code helped you in scraping Google Maps, please take a moment to star the repository. Your act of starring will help developers in discovering our Repository and contribute towards helping fellow developers in their scraping needs. Dhanyawad ๐Ÿ™! Vande Mataran!

bizhub-google-maps-scraper's People

Contributors

chetanjainsirsa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.