Indice

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?

La prima cosa che viene in mente a chi capisce cos'è lo scraping è raschiare i dati. 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:

La prima opzione funziona se avete qualche anno di esperienza nel campo dello scraping e le risorse per costruire e mantenere lo scraper. Siate pronti a gestire la protezione di Google con emulatori di browser/proxy/risolutori di reCaptcha, ecc.

Usando l'ufficiale API di 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 un raschiatore di nuvole esistente come Scraper di 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 si apre una query come “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

Pertanto, la sfida di ottenere tutti i risultati di un paese è quella di creare una lista di query che cercherà luoghi specifici in alcune aree limitate.

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

La soluzione sarà una combinazione di diverse categorie (Hotel, Hotel per famiglie, Hotel di lusso, ecc.) insieme a località divise in piccole aree (quartieri, contee, ecc.), per esempio:

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

Inoltre, è possibile utilizzare i codici postali per creare query precise. L'utilizzo di questo approccio vi permetterà di utilizzare solo una categoria di business, per esempio:

  • Alberghi, 04781, CA, Stati Uniti
  • Alberghi, 04783, CA, Stati Uniti
  • Alberghi, 04785, CA, Stati Uniti
  • Alberghi, 04786, CA, Stati Uniti

Categorie

The entire list of all the categories in Google Places can be found qui. In questo esempio, stiamo usando Scraper di 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

Località

La posizione ideale sarà un codice postale con una città e il nome del paese. Anche l'uso di piccole città o quartieri funzionerà benissimo. Se stai usando Outscrapernon c'è bisogno di trovare codici postali o un elenco di città. Basta selezionare le regioni richieste dal menu a tendina. È anche possibile utilizzare questa vita per ottenere tutte le posizioni e usarlo all'interno di qualsiasi altra app:

Selezione della posizione

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

Parametri avanzati

Mentre si usa Scraper di 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):

Parametri avanzati

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 stai eseguendo la prima estrazione, ti chiederà di verificare l'account. Segui le istruzioni nella pagina pop-up e clicca su "I’ve performed the actions” once you have verified the account. When your task is running, you can open the pagina delle attività per monitorare i progressi:

Stato di avanzamento dell'attività

Risultati

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 del luogo su Google Maps.
  • site - sito web del luogo.
  • type - il tipo di luogo in cui è stato trovato (può essere qualsiasi elemento dei sottotipi).
  • subtypes - tutti i tipi di luogo.
  • category - il tipo principale del luogo (a volte potrebbe essere in una lingua locale).
  • phone - numero di telefono del luogo.
  • full_address - l'indirizzo completo del luogo in cui si trova.
  • borough - comune di ubicazione del luogo.
  • street - strada dell'ubicazione del luogo.
  • city - città di ubicazione del luogo.
  • postal_code - codice postale dell'ubicazione del luogo.
  • state - stato di ubicazione del luogo.
  • us_state - stato della posizione del luogo (sarà rimosso nelle versioni future).
  • country - paese di ubicazione del luogo.
  • country_code - codice paese della località.
  • latitude - latitudine della posizione del luogo.
  • longitude - longitudine della posizione del luogo.
  • time_zone - fuso orario della località.
  • plus_code – location plus code or open location code (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • rating - valutazione del luogo.
  • reviews - numero di recensioni
  • reviews_link - link alle recensioni del locale.
  • reviews_per_score - Oggetto JSON con le recensioni per punteggio.
  • photos_count - numero di foto del luogo.
  • photo - link all'immagine del luogo.
  • street_view - link all'immagine del luogo street view.
  • working_hours - Oggetto JSON con gli orari di lavoro del luogo.
  • working_hours_old_format - orari di lavoro del locale.
  • popular_times – popular time of the place (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • business_status - stato attuale dell'azienda.
  • about - informazioni aggiuntive sul luogo (ad es. si identifica come azienda a conduzione femminile, LGBTQ+ friendly).
  • description – place description.
  • range - fascia di prezzo del locale.
  • posts - Oggetto JSON con i post del luogo (funziona solo per alcuni luoghi).
  • verified – indicates if the place was claimed.
  • owner_id - identificativo univoco del proprietario del luogo.
  • owner_title - titolo della pagina del profilo del proprietario.
  • owner_link - link al profilo del proprietario su 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 - per effettuare un ordine.
  • location_link - link al luogo su Google Maps.
  • place_id – unique identifier of the place (Google might update it a couple of times per year).
  • google_id - identificatore unico del luogo, noto anche come Feature ID (Google potrebbe aggiornarlo un paio di volte all'anno).
  • cid – multi-platform ID of a listing in the Google ecosystem.
  • reviews_id - identificatore unico delle recensioni dei luoghi.

Video tutorial

Domande frequenti

Domande e risposte più frequenti

È facile e veloce estrarre i dati aziendali con Outscraper Google Maps Data Scraper. Basta scegliere una categoria, una località, impostare i parametri e avviare l'attività. Al termine dell'operazione, scaricare il file dei risultati.

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.


0 Comments

Lascia un commento

Segnaposto avatar