Git Product home page Git Product logo

google_maps_scraper's Introduction

Google Maps / Google My Business Scraper ๐ŸŒŽ๐Ÿ“Š

This is script is a scraping script developed with Python and its automation library Selenium. Consists of reading a list of keywords, searching them in the Google Maps search, and getting its data and cover image.

The script goes one by one searching for the keyword, and storing the data in a list, to finally export it to an Excel file located in the folder specified by the user when running the script.

In the presentation video I show the script running without hiding the Chrome window, and it can be seen quite clear the process that the script follows.

However, although I have added that version in the build folder, the final version and the one it is in the source code, works without showing the Chrome window, because it works with 5 simultaneous threads to increase the speed and obtain the results faster.

For now the script works only for Spanish and English languages, however, I can add more languages in the future.

Google Maps Scraper

How to Run It

To execute this script you need to run it in the command prompt.

google_maps_scraper_juaristech.exe

Then, some questions will appear, which are necessary to run the script:

  1. You will need to type "ES" for Spanish or "EN" for English.

    [1] Introduce the language, (ES o EN): 
  2. You will need to specify the folder to save the output Excel and images. For example: D:\Projects\Spain\Madrid\output\

    [2] Introduce the path to save the images:
  3. To finish, you need to specify where is located the .txt file with the keywords to search. For example: D:\Projects\Spain\Madrid\places.txt

    [3] Introduce the path of the keywords txt file:

Then the script starts to work, and when it finished, the Excel file would appear in the output folder.


For any doubts about how to use the program, you can read the article of our web or see the demo video.

Requirements

The used requirements are specified in the requierements.txt file. If you want to execute the .py script from python, you can install the dependencies with the next command:

pip install -r requirements.txt

Contact

google_maps_scraper's People

Contributors

patxijuaristi 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.