Table of Contents

In this article, you will learn about the way of extracting all Google Maps reviews from the global foodservice retailer. This method can also be applied to any other brand or a whole category of businesses.

The current tutorial does not require technical skills, and can easily be employed by anyone with access to the internet. However, you can use the API to automate the process.

It can be used by data scientists in natural language processing; by marketers for brand research; and by developers for building cool applications, tools, and platforms.

Google Maps reviews from McDonald's

Three Simple Steps Of Exporting Reviews

The first step is to scrape all the places from Google Maps. This will allow you to verify that you have all the locations you need and give you the data from Google Maps places required for the second step.

Secondly, scraping all the reviews from the places you have got from the previous step by using unique IDs for each place (google_id or place_id).

Finally, once you have all the reviews and all the places, you will learn about monitoring and scraping only new reviews so you can keep your database up to-date with a minimal cost of maintaining it.

Before We Begin

In this tutorial, we’ll use Outscraper’s Google Maps and Google Reviews scrapers. However, the principle described in this article is not limited to this tool specifically and can be applied by any other Google Maps extractor or by using the Official Google Places API (although, the latter option is limited only to 5 reviews per one place).

Step 1: Scraping Places From Google Maps

Preparing Search Queries

As you might know, Google limits the number of results per one query search up to 400 items. The solution is to split locations into smaller areas: cities, towns, neighborhoods, counties, or even zip codes for some common categories that have a lot of results (e.g. “restaurants”):

or

Outscraper has a list of locations that you can use. For our case with McDonald’s we will go with areas without using zip codes as there are no more than 600 places per one US state.

McDonald google maps scraping

Selecting USA locations by states and cities

Alternatively, for some general categories that will bring thousands of places even from one big city, you can use zip codes. It’s better to dedicate each task to one state to speed up the process as it will be a lot of queries for each zip code across the USA.

google maps restaurants scraping

Selecting USA locations by zip codes

Submiting The Task

confirm google maps scraping task

Task confirmation modal

Check other advanced parameters before starting the extraction. You might want to remove duplicates, change the language, or set up the total limit. Once you are ready to start, press the “Scrape Data” button, validate, and confirm the task.

Once the task of scraping locations is finished, you will receive an email with the link to the file. You can see the current progress of the task on the tasks page.

Step 2: Exporting All The Reviews From The Places

Preparing Queries

Once the task is finished you can use the google_id column as a source for reviews extraction. Unique Google IDs can be used as plain queries for Google Reviews scraper.

Extracted places from Google Maps

Results of extracted places (12.479 unique locations)

Submiting The Task

Again, go over queries and advanced parameters before starting the scraping task. Set up the limit, sort, or change the language for the reviews.

Google Maps reviews scraping by IDs

Using google_ids as queries for Google Reviews Scraper

Once everything is ready, you can start the extraction task. This task will take more time as there are many reviews.

Step 3: Scraping Only New Reviews

After the first steps, you will have complete businesses data and reviews available on Google. However, in a few weeks that data will be outdated as users will add more reviews.

Outscraper allows you to get only new reviews up to the specific date by using the cutoff parameter. It will fetch all the newest reviews and stop at a specific time (e.g. the date of your last extraction). Hence, you can enrich your database periodically and keep it up to date with the latest changes.

Google Maps reviews scraping by IDs

Stop reviews extraction at the specific date (cutoff parameter)

Video Tutorial

Helpful Links

ПОШИРЕНІ ЗАПИТАННЯ

Найпоширеніші запитання та відповіді

  1. Увійдіть в систему Outscraper App Dashboard
  2. Choose the Скребок відгуків на картах Google Maps service in the left panel.
  3. Set your parameters.
  4. Create your task.
  5. Download the all reviews as a xlsx result file.
You can check the Google Developers page. to use Google official API. But if you would like to extend the official Google Maps API abilities and scrape any amount of reviews in real-time you can check for Outscraper Google Maps Reviews API

Yes. You can use the “cutoff” and “sort” parameters to scrape only the reviews that were added since your last scrape.


Vlad

Project Manager Linkedin

0 Коментарі

Залишити відповідь

Заповнювач аватара