Table of Contents

Why Hotels or Other Businesses on Google Maps?

Google Maps Search Query

يستفيد كل فندق من إدراج نشاطه التجاري على خرائط Google مع ملايين العملاء المحتملين. يأتي جزء كبير من بيانات الفنادق من مالكي الفنادق أو مديريها. يتم توفير جزء آخر من قبل العملاء المتحمسين. هذا يجعل Google Places أفضل مصدر للحقيقة للفنادق والفئات الأخرى (مثل المطاعم والحانات ومراكز التسوق وما إلى ذلك).

Ok, Google Does Have It, but How Can I Get the Data?

أول ما يتبادر إلى الذهن بالنسبة لأولئك الذين يفهمون ما هو الكشط هو كشط البيانات. 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:

سيعمل الخيار الأول إذا كان لديك بضع سنوات من الخبرة في مجال الكشط والموارد اللازمة لبناء وصيانة الكاشطة. كن مستعدًا للتعامل مع حماية Google باستخدام برامج محاكاة المتصفح / الوكلاء / أدوات reCaptcha ، إلخ.

باستخدام المسؤول واجهة برمجة تطبيقات أماكن Google 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.

باستخدام مكشطة سحابة موجودة مثل مكشطة خرائط جوجل 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

إذا قمت بفتح استعلام مثل “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

لذلك ، فإن التحدي المتمثل في الحصول على جميع النتائج من بلد ما هو إنشاء قائمة من الاستعلامات التي ستبحث عن أماكن محددة في بعض المناطق المحدودة.

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

سيكون الحل عبارة عن مجموعة من الفئات المختلفة (فندق ، فندق عائلي ، فندق فاخر ، إلخ) جنبًا إلى جنب مع مواقع مقسمة إلى مناطق صغيرة (أحياء ، مقاطعات ، إلخ) ، على سبيل المثال:

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

بالإضافة إلى ذلك ، يمكنك استخدام الرموز البريدية لإنشاء استعلامات دقيقة. سيسمح لك استخدام هذا الأسلوب باستخدام فئة عمل واحدة فقط ، على سبيل المثال:

  • الفنادق ، 04781 ، كاليفورنيا ، الولايات المتحدة
  • الفنادق ، 04783 ، كاليفورنيا ، الولايات المتحدة
  • الفنادق ، 04785 ، كاليفورنيا ، الولايات المتحدة
  • الفنادق ، 04786 ، كاليفورنيا ، الولايات المتحدة

فئات

The entire list of all the categories in Google Places can be found هنا. في هذا المثال ، نستخدم مكشطة خرائط جوجل, 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

المواقع

سيكون الموقع المثالي هو رمز بريدي مع اسم المدينة والبلد. كما أن استخدام المدن الصغيرة أو الأحياء سيعمل بشكل رائع. إذا كنت تستخدم ملفات Outscraper، ليست هناك حاجة للبحث عن الرموز البريدية أو قائمة المدن. ما عليك سوى اختيار المناطق المطلوبة من القائمة المنسدلة. يمكنك أيضًا استخدام ملفات هذا الملف للحصول على جميع المواقع واستخدامها داخل أي تطبيق آخر:

Location Selection

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

Advanced Parameters

أثناء استخدام مكشطة خرائط جوجل 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):

Advanced Parameters

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.

إذا كنت تقوم بتشغيل الاستخراج الأول ، فسيطلب منك التحقق من الحساب. اتبع التعليمات الموجودة على الصفحة المنبثقة وانقر على "I’ve performed the actions” once you have verified the account. When your task is running, you can open the صفحة المهام لرصد التقدم:

Task Progress

نتائج

بمجرد الانتهاء من مهمتك ، ستتلقى رسالة بريد إلكتروني تحتوي على رابط للبيانات. سيكون الملف متاحًا للتنزيل لمدة 30 يومًا. يمكنك أيضًا تنزيل النتائج من ملف

Outscraper Google Maps Data Scraper Result File

The results file contains the following fields:

  • اسم – name of the place on Google Maps.
  • موقع – website of the place.
  • نوع – the type of the place under which it was found (can be any element from subtypes).
  • الأنواع الفرعية – all types of the place.
  • category – the main type of the place (sometimes might be in a local language).
  • هاتف – place phone number.
  • العنوان الكامل – full address of the place location.
  • البلدة – borough of the place location.
  • شارع – street of the place location.
  • مدينة – city of the place location.
  • رمز بريدي – postal code of the place location.
  • حالة – state of the place location.
  • us_state – state of the place location (will be removed in future versions).
  • بلد – country of the place location.
  • الرقم الدولي – country code of the place location.
  • خط العرض – latitude of the place location.
  • خط الطول – longitude of the place location.
  • وحدة زمنية – timezone of the place location.
  • plus_code – location plus code or open location code (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • تقييم – rating of the place.
  • المراجعات – number of reviews
  • تعليقات_رابط – link to the place’s reviews.
  • الاستعراضات_في_الدرجة – JSON object with reviews per score.
  • عدد الصور – number of photos from the place.
  • صورة فوتوغرافية – image link of the place.
  • street_view – image link of the place street view.
  • ساعات العمل – JSON object with working hours of the place.
  • work_hours_old_format – working hours of the place.
  • popular_times – popular time of the place (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • حالة_العمل – current status of the business.
  • حول – extra information about the place (e.g., Identifies as women-owned, LGBTQ+ friendly).
  • description – place description.
  • نطاق – price range of the place.
  • دعامات – JSON object with posts from the place (works only for some places).
  • تم التحقق – indicates if the place was claimed.
  • بطاقة هوية المالك – unique identifier of the place owner.
  • owner_title – title of the owner’s profile page.
  • owner_link – link to owner profile on Google Maps.
  • reservation_links – link to make a reservation.
  • الحجز_تعيين_رابط – link to book an appointment.
  • menu_link – link to the menu.
  • order_links – link to place an order.
  • رابط_الموقع – link to the place on Google Maps.
  • معرّف_المكان – unique identifier of the place (Google might update it a couple of times per year).
  • google_id – unique identifier of the place, also known as Feature ID (Google might update it a couple of times per year).
  • cid – multi-platform ID of a listing in the Google ecosystem.
  • reviews_id – unique identifier of the places’ reviews.

Video Tutorial

التعليمات

الأسئلة والأجوبة الأكثر شيوعًا

It is easy and fast to extract business data with Outscraper Google Maps Data Scraper. Just choose a category, choose a location, set parameters, and start the task. When the task is finished, download the result file.

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

اترك تعليقاً

عنصر نائب للصورة الرمزية