Índice

Why Hotels or Other Businesses on Google Maps?

Google Maps Search Query

Every hotel with millions of potential customers benefits from listing its business on Google Maps. A significant part of hotel data comes from the 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?

A primeira coisa que vem à mente para aqueles que entendem o que é raspar é raspar os dados. Google Maps 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 the manual exporting of 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 or Excel file:

A primeira opção funcionará se você tiver alguns anos de experiência no campo de raspagem e os recursos para construir e manter o raspador. Esteja preparado para lidar com a proteção do Google com emuladores/proxies/reCaptcha solvers, etc.

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

Hiring a freelancer can work, although you must maintain a relationship with them. Make sure the freelancer doesn’t disappear after Google updates its security and you want to fix the program.

Usando um raspador de nuvens existente, como Coletor do Google Maps will be the ultimate option, as it will not require any developer’s skills and the prices are much lower than using the Official API. You can get the results in a CSV/XLSX 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

Se você abrir uma consulta como “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 will only see some hotels (unless it’s a city with fewer than 500 hotels).

Result Limit on Google Maps

Portanto, o desafio de obter todos os resultados de um país é criar uma lista de consultas que busquem lugares específicos em algumas áreas limitadas.

What Queries Do You Need to Scrape Hotels From the US?

A solução será uma combinação de diferentes categorias (Hotel, Hotel Familiar, Hotel de Luxo, etc.) juntamente com locais divididos em pequenas áreas (bairros, condados, etc.), por exemplo:

  • McDonald’s, Albany, New York, United States
  • McDonald’s, Amherst, New York, United States

Além disso, você pode usar códigos postais para criar consultas precisas. O uso desta abordagem permitirá que você utilize apenas uma categoria comercial, por exemplo:

  • Hotéis, 04781, CA, US
  • Hotéis, 04783, CA, US
  • Hotéis, 04785, CA, US
  • Hotéis, 04786, CA, US

Categorias

The entire list of all the categories in Google Places can be found aqui. Neste exemplo, estamos usando Coletor 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”:

Categories Selection

Lugares

O local ideal será um código postal com o nome de uma cidade e o nome do país. O uso de pequenas cidades ou bairros também funcionará muito bem. Se você estiver usando Outscrapernão há necessidade de encontrar códigos postais ou uma lista de cidades. Basta selecionar as regiões necessárias a partir do menu suspenso. Você também pode usar este ficheiro para obter todos os locais e utilizá-lo dentro de qualquer outro aplicativo:

Seleção do local

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 find the places regardless of the IP address it’s using:

Custom Locations

Parâmetros avançados

Ao usar o Coletor do Google Maps you can select the language, the total number of places limit, and whether to extract additional data from places’ websites or not. Consider selecting 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 within a single task (the same places from different queries):

Parâmetros avançados

Starting the Scraping Task

Once everything looks right, click 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.

Se você estiver executando a primeira extração, ele lhe pedirá para verificar a conta. Siga as instruções na página pop-up e clique em "I’ve performed the actions” once you have verified the account. When your task is running, you can open the página de tarefas para monitorar o progresso:

Progresso da tarefa

Resultados

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 can also download the results from the tasks page.

Outscraper Google Maps Data Scraper Result File

The results file contains the following fields:

  • name - nome do local no Google Maps.
  • site - site do local.
  • type - o tipo do local em que foi encontrado (pode ser qualquer elemento de subtipos).
  • subtypes - todos os tipos do lugar.
  • category - o tipo principal do lugar (às vezes pode estar em um idioma local).
  • phone - coloque o número de telefone.
  • full_address - endereço completo do local.
  • borough - bairro do local.
  • street - rua do local.
  • city - cidade do local.
  • postal_code - código postal do local.
  • state - estado do local.
  • us_state - estado do local (será removido em versões futuras).
  • country - país do local.
  • country_code - código do país do local.
  • latitude - latitude do local.
  • longitude - longitude da localização do local.
  • time_zone - fuso horário do local.
  • plus_code – location plus code or open location code (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • rating - classificação do local.
  • reviews - número de revisões
  • reviews_link - link para as avaliações do local.
  • reviews_per_score - Objeto JSON com revisões por pontuação.
  • photos_count - número de fotos do local.
  • photo - link de imagem do local.
  • street_view - link de imagem da vista de rua do local.
  • working_hours - Objeto do JSON com horário de trabalho do local.
  • working_hours_old_format - horário de trabalho do local.
  • popular_times – popular time of the place (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • business_status - situação atual do negócio.
  • about - informações extras sobre o local (por exemplo, se identifica como sendo de propriedade de mulheres, receptivo ao público LGBTQ+).
  • description – place description.
  • range - faixa de preço do local.
  • posts - Objeto JSON com postes do local (funciona somente para alguns lugares).
  • verified – indicates if the place was claimed.
  • owner_id - identificador único do proprietário do local.
  • owner_title - título da página de perfil do proprietário.
  • owner_link - link para o perfil do proprietário no Google Maps.
  • reservation_links – link to make a reservation.
  • booking_appointment_link – link to book an appointment.
  • menu_link – link to the menu.
  • order_links - link para fazer um pedido.
  • location_link - link para o local no Google Maps.
  • place_id – unique identifier of the place (Google might update it a couple of times per year).
  • google_id - identificador único do local, também conhecido como Feature ID (o Google pode atualizá-lo algumas vezes por ano).
  • cid – multi-platform ID of a listing in the Google ecosystem.
  • reviews_id - identificador único das revisões dos locais.

Tutorial em vídeo

Perguntas frequentes

Perguntas e respostas mais frequentes

É fácil e rápido extrair dados comerciais com o Outscraper Google Maps Data Scraper. Basta escolher uma categoria, escolher um local, definir parâmetros e iniciar a tarefa. Quando a tarefa estiver concluída, faça o download do arquivo de resultados.

No business email address is normally listed as public on Google Maps. Google does not provide this data. But a different way can be followed to find the company email address. It is to visit the website of the business in the Google Maps profile and find the email address from the contact us page. If you find it difficult to do this one by one, there is a solution for you. Outscraper’s Google Maps Data Scraper. With this scraping service, Outscraper extracts the Google Maps data of the businesses in the selected category and location and collects their email addresses.

Google Maps shows the hotels in the selected area and also allows you to book. It offers a lot of data about hotels. Services offered by the hotel, pricing, hotel facilities, customer reviews and more. If you want to download the list of hotels in Google Maps, Outscraper Google Maps Data Scraper can be used.


Comentário de 0

Deixe um comentário

Espaço reservado para avatar