Launch the Google Maps Scraper GUI with this command:
python app/run.py
Note: Run the command in the repository’s root directory.
Entering Search Criteria
Use the GUI to enter your search criteria and initiate the scraping process.
Once it is launched, Enter your query in the Input field. Your query should be detailed. For example, if you want to get Data on all the hotels in Lahore, your query should be like this: “Hotels in Lahore, Punjab, Pakistan.”
Output Format
Select the output format of the file in which data will be saved after scraping. You have three options:
- Excel
- CSV
- JSON
Headless Mode
To enable headless mode (scraping without a visible browser window), simply select the “Headless mode” radio button in the top right corner.
Submitting the Query
Click the submit button to see the scraping magic of this tool.
Scraping Time Factors
The time of scraping data depends upon the following factors:
- Your internet connection
- Number of results available for your search query
Browser and Driver Requirements
This application scrapes data using the Chromium driver and Chrome browser. You must have a Chrome browser to use it, and the application will automatically install the required driver. Check this guide on driver.