Why hotels or other businesses on Google Maps?

a hotel from google maps Every hotel benefits from listing its business on Google Maps, with millions of potential customers. A significant part of hotels data comes from owners or managers of the hotels. Another part is supplied by enthusiastic customers. This makes Google Places the best source of truth for hotels and other categories (e.g. restaurants, bars, shopping malls, etc.).

Ok, Google does have it, but how can I get the data?

The first thing that comes to mind for those who understand what is scraping is to scrape the data. Google Map scraping, harvesting, or extracting is a process of getting all the information about places (name, address, coordinates, site, phone, working hours, etc.) from the Google Maps site. It automates manual exporting of the data and saves a lot of time for marketing teams.

4 ways to scrape Google places

There are several ways to get the data into a CSV/excel file: The first option will work if you have a few years of experience in the scraping field and the resources to build and maintain the scraper. Be prepared to handle Google protection with browser emulators/proxies/reCaptcha solvers, etc.

Using the official Google Places API will be a good option but might be costly for small teams. Moreover, the fields are limited, but fortunately, you still can get some main data like names, coordinates, addresses, etc.

scrape google maps with a freelancer Hiring a freelancer can work, although you will need to maintain a relationship with them. Make sure the freelancer doesn't disappear after Google updates its security and you want to fix the program.

Using an existing cloud scraper like Raspador do Google Maps will be the ultimate option, as it will not require any developer's skills and the prices much lower than using the Official API. You can get the results into a CSV/excel file. The results contain a variety of fields, including phone numbers, emails, social links, etc.

The challenge of scraping the hotels from the entire country

google maps serach results limit If you open a query like "hotels near NYC, NY, USA" you will see only about 500 places for your search. Since Google Maps limits the number of results to a single search query, you won't see all hotels (unless it's a city with less than 500 hotels).

Therefore, the challenge of getting all the results from a country is to create a list of queries that will search for specific places in some limited areas.

What queries do you need to scrape hotels from the US?

The solution will be a combination of different categories (Hotel, Family Hotel, Luxury Hotel, etc.) along with locations split into small areas (neighborhoods, counties, etc.), for example:
  • McDonald's, Albany, New York, United States
  • McDonald's, Amherst, New York, United States
Additionally, you can use postal codes to create precise queries. Using this approach will allow you to use only one business category, for instance:
  • Hotels, 04781, CA, US
  • Hotels, 04783, CA, US
  • Hotels, 04785, CA, US
  • Hotels, 04786, CA, US
Categories
The entire list of all the categories from Google Places can be found here. In this example, we are using Raspador do Google Maps, so we don't need to combine the categories with locations now. Moreover, as we are going to use postal codes, it will be enough to use only one main category "hotel": select hotels category - google maps scraper

Locations
The ideal location will be a postal code with a city and the country name. Using small cities or neighborhoods also will work great. If you are using Outscraper, there is no need to find postal codes or a list of cities. Just select the required regions from the dropdown. You also can use this file to get all the locations and use it inside any other app: select USA locations - google maps scraper

To specify the locations manually, use the "custom locations" checkbox and insert the data from any table you have. Make sure you have a country name inside each location. This will help the scraper to find the places regardless of the IP address it's using: custom locations

Advanced parameters

While using Raspador do Google Maps you can select the language, total places limit, and whether to extract additional data from places' websites or not. Don't forget to select the region to eliminate any other countries that might appear from cities with ambiguous names.

You also might want to use "Drop duplicates" so you will ignore duplicate items inside a single task (the same places from different queries): advanced parameters

Starting the scraping task

google maps queries validation Once everything looks right, click on the "Scrape data" button and validate a few queries by opening them on Google Maps. Make sure the queries are working on Google Maps and you can see the locations.

If you are running the first extraction, it will ask you to verify the account. Follow the instructions on the pop-up page and click "I've performed the actions" once you verified the account. When your task is running, you can open the página de tarefas to monitor the progress: google maps scraping task

Results

google maps scraper results excel file Once your task is finished, you will receive an email with a link to the data. The file will be available for 30 days to download. You also can download the results from the página de tarefas. The results file contains the following fields:
  • name
  • site
  • type
  • subtypes
  • phone
  • full_address
  • borough
  • street
  • city
  • postal_code
  • state
  • us_state
  • country
  • country_code
  • latitude
  • longitude
  • time_zone
  • plus_code
  • rating
  • reviews
  • reviews_link
  • reviews_per_score
  • photos_count
  • photo
  • working_hours
  • working_hours_old_format
  • business_status
  • about
  • range
  • posts
  • verified
  • owner_id
  • owner_title
  • owner_link
  • reserving_table_link
  • booking_appointment_link
  • location_link
  • place_id
  • google_id
  • reviews_id
  • email
  • email2
  • Twitter
  • LinkedIn
  • Facebook
  • instagram
  • google_plus
  • skype
  • telegram
  • site_generator
  • site_title
  • site_description
  • site_keywords

Video tutorial on how to scrape Google Maps using Outscraper cloud application


Preciso de mais?

INSCREVA-SE AGORA e use o código de promoção: OUTSCRAPER1 para obter um 10% DESLIGADO desconto.


Scraper app ► https://app.outscraper.com/googleMaps
Google Maps scraper page ► https://outscraper.com/google-maps-scraper
Página do raspador de comentários do Google Maps ► https://outscraper.com/google-maps-reviews-scraper Google Maps Places real time API ► https://outscraper.com/google-maps-api

Comentários de 0

Deixe um comentário

Espaço reservado para avatar

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BR