Giter VIP home page Giter VIP logo

mchlrnx / google-maps-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omkarcloud/google-maps-scraper

0.0 0.0 0.0 2.34 MB

๐Ÿ‘‹ HOLA! ENJOY OUR GOOGLE MAPS SCRAPER ๐Ÿš€ TO EFFORTLESSLY EXTRACT DATA SUCH AS NAMES, ADDRESSES, PHONE NUMBERS, WEBSITES, AND RATINGS FROM GOOGLE MAPS WITH EASE! ๐Ÿค–

Home Page: https://www.omkar.cloud/bose/docs/ready-made-bots/google-maps-scraper/

License: MIT License

Python 100.00%

google-maps-scraper's Introduction

omkar

โœจ Google Maps Scraper ๐Ÿค–

๐Ÿ’ฆ Enjoy the Rain of Google Maps Leads ๐Ÿ’ฆ

(Programming Language - Python 3)

google-maps-scraper forks Repo stars google-maps-scraper License issues

View


๐ŸŒŸ Get 120 Leads in 10 Minutes! ๐Ÿค–

๐Ÿš€ Getting Started

If you are not a techy person or don't know how to use git. You can follow this video to make bot run.

1๏ธโƒฃ Clone the Magic ๐Ÿง™โ€โ™€๏ธ:

git clone https://github.com/omkarcloud/google-maps-scraper
cd google-maps-scraper

2๏ธโƒฃ Install Dependencies ๐Ÿ“ฆ:

python -m pip install -r requirements.txt

3๏ธโƒฃ Let the Rain of Google Map Leads Begin ๐Ÿ˜Ž:

python main.py

Once the scraping process is complete, you can find your leads in the output directory.

Google Maps Data Scraper CSV Result

Video Demo

Watch this video to see the bot in action!

Google Maps Video Tutorial

๐Ÿค” FAQs

โ“ The scraper is only retrieving 5 results. How can I scrape all Google Maps search results?

A: Open the file src/config.py and comment out the line that sets the max_results parameter.

By doing so, you can scrape all the search results from Google Maps. For example, to scrape all restaurants in Delhi, modify the code as follows:

queries = [
    {
        "keyword": "restaurants in delhi",
        # "max_results" : 5,
    },
]

โ“ I want to scrape search results for a specific business in a particular location. How can I achieve that?

A: Open the file src/config.py and update the keyword with your desired search query.

For example, if you want to scrape data about stupas in Kathmandu ๐Ÿ‡ณ๐Ÿ‡ต, modify the code as follows:

queries = [
    {
        "keyword": "stupas in kathmandu",
    },
]

โ“ Can I scrape more than one query using this script?

A: Absolutely! Open the file src/config.py and add as many queries as you like.

For example, if you want to scrape restaurants in both Delhi ๐Ÿ˜Ž and Bangalore ๐Ÿ‘จโ€๐Ÿ’ป, use the following code:

queries = [
    {
        "keyword": "restaurants in delhi",
        "max_results": 5,
    },
    {
        "keyword": "restaurants in bangalore",
        "max_results": 5,
    }
]

โ“ How much time does it take to scrape "n" searches?

On average, each Google Maps search gives 120 listings. It takes approximately 10 minutes to scrape these 120 listings.

To calculate the number of hours it takes to scrape "n" searches, you can google search this formula substituting n with number of searches you want to conduct:

n * 10 minutes in hour

For example, if you want to scrape 10 google map queries or 1200 listings, it will take around 1.6 hours.

โ“ How can I utilize the data obtained from Google Maps?

A: Most people scrape Google Maps Listings to sell things!

For example, you can search for restaurants in Amritsar and pitch your web development services to them.

You can also find real estate listings in Delhi and promote your exceptional real estate software.

Google Maps is seriously a great platform to find B2B customers to sell things to!

Additional Questions (Not as important)

โ“ The code looks well-structured and organized. Most Selenium codebases are messy. How did you do it?

A: I use the Bose Framework, a Bot Development Framework that greatly simplifies the process of creating bots.

The Google Maps Scraper uses Bose to:

  1. Enable running the bot multiple times
  2. Maintain code structure
  3. Save the data as JSON and CSV
  4. Incorporate anti-bot detection features
  5. Utilize the enhanced Selenium Driver to reduce code.

You can see scrape_google_maps_links_task.py to understand the simplicity Bose Brings.

Without Bose Framework, it would be 2x more harder to make this Google Maps Scraper.

Explore the Bose Framework here.

โ“ How can I thank you?

Star โญ the repository.

Your star will send me a Telegram Notification, and it will bring a smile to my face :)

โ“ I'm interested in creating more bots. Can you assist me?

A: I am a professional scraper who scrapes for a living. Let's discuss your requirements further! Feel free to reach out to me at [email protected].


PS: If you're interested in getting an enhanced version of this scraper capable of extracting 8x more data in the same time, you can reach out to me at [email protected]. The cost is $75, and it will save you 8x more time.

Love It? Star It! โญ

google-maps-scraper's People

Contributors

chetan11-dev avatar 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.