目次を見る

なぜホテルなどのビジネスがGoogleマップに掲載されるのか?

Googleマップの検索クエリ

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.).

Googleにはデータがあるけど、どうすればいい?

スクレイピングとは何かを理解している人が最初に頭に浮かぶのは、データをスクレイピングすることです。 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.

Google Placesをスクレイピングする4つの方法

There are several ways to get the data into a CSV or Excel file:

最初のオプションは、スクレイピングの分野で数年の経験があり、スクレイパーを構築および保守するためのリソースがある場合に機能します。ブラウザエミュレータ/プロキシ/ reCaptchaソルバーなどでGoogleの保護を処理する準備をしてください。

公式を使用して Google Places API 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.

フリーランサーを雇うことは、彼らとの関係を維持する必要がありますが、動作することができます。Googleがセキュリティを更新し、あなたがプログラムを修正したい後、フリーランサーが消えないことを確認してください。

次のような既存のクラウドスクレーパーを使用する グーグルマップスクレイパー は、開発者のスキルを必要とせず、価格も公式APIを使うよりずっと安いので、究極の選択肢になると思います。結果をCSV/XLSXファイルに取得することができます。結果には、電話番号、電子メール、ソーシャルリンクなど、さまざまなフィールドが含まれています。

全国からホテルをかき集めるという挑戦

次のようなクエリを開くと “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).

Google Mapsでの検索結果

したがって、国からすべての結果を取得する際の課題は、一部の限られた地域の特定の場所を検索するクエリのリストを作成することです。

米国発のホテルをスクレイピングするために必要なクエリとは?

解決策は、さまざまなカテゴリ(ホテル、ファミリーホテル、ラグジュアリーホテルなど)と、小さなエリア(近隣、郡など)に分割された場所の組み合わせです。

  • マクドナルド(米国ニューヨーク州アルバニー市
  • マクドナルド(米国ニューヨーク州アマースト市

さらに、郵便番号を使用して正確なクエリを作成できます。このアプローチを使用すると、たとえば次の1つのビジネスカテゴリのみを使用できます。

  • ホテル、04781、カリフォルニア、米国
  • ホテル、04783、CA、US
  • ホテル、04785、カリフォルニア、米国
  • ホテル、04786、CA、US

カテゴリ

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”:

カテゴリー選択

場所

理想的な場所は、都市と国名が記載された郵便番号です。小さな都市や近所を使用することもうまくいきます。使用している場合 アウトスクレーパー、郵便番号や都市のリストを見つける必要はありません。ドロップダウンから必要なリージョンを選択するだけです。あなたも使うことができます このファイル すべての場所を取得し、他のアプリ内で使用するには:

ロケーション選択

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:

カスタムロケーション

高度なパラメータ

使用中 グーグルマップスクレイパー 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):

高度なパラメータ

スクレイピングタスクの開始

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.

最初の抽出を実行している場合、アカウントの検証を求められます。ポップアップページの指示に従い、"アクションを実行しました” once you have verified the account. When your task is running, you can open the タスクページ 進行状況を監視するには:

タスクの進捗状況

結果

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(グーグルマップデータスクレイパーリザルトファイル

結果ファイルには、以下のフィールドが含まれます。

  • 名前 - Googleマップの地名
  • サイト - のウェブサイトをご覧ください。
  • タイプ - 発見された場所のタイプ(サブタイプから任意の要素にすることができる)。
  • サブタイプ - のすべてのタイプに対応しています。
  • カテゴリ - その場所の主な種類(現地の言葉で書かれている場合もあります)。
  • 電話 - 場所の電話番号
  • full_address - 場所位置の完全なアドレス。
  • 自治区 - 場所位置の自治体。
  •  - の通りです。
  •  - 場所の位置の都市。
  • 郵便番号 - 場所の位置の郵便番号
  •  - の状態です。
  • us_state - の状態(将来のバージョンでは削除される予定です)。
  •  - 場所位置の国。
  • country_code - 場所の国番号。
  • 緯度 - 場所の位置の緯度。
  • 経度 - 場所の位置の経度。
  • time_zone - 場所のタイムゾーン。
  • plus_code - 位置情報プラスコードまたはオープン位置情報コード(個別の検索にのみ機能します、例:クエリ。"Hotel Colombo Berat", "0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8") といった具合です。
  • 評価 - の評価をしています。
  • レビュー – number of reviews
  • reviews_link – link to the place’s reviews.
  • reviews_per_score – JSON object with reviews per score.
  • photos_count – number of photos from the place.
  • 写真 – image link of the place.
  • ストリートビュー – image link of the place street view.
  • 労働時間 – JSON object with working hours of the place.
  • working_hours_old_format – working hours of the place.
  • ポピュラー・タイムズ – popular time of the place (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • business_status – current status of the business.
  • だいたい - その場所に関する特別な情報(例:女性が経営している、LGBTQ+に配慮しているなど)。
  • 記述 – 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.
  • owner_id – unique identifier of the place owner.
  • owner_title – title of the owner’s profile page.
  • owner_link – link to owner profile on Google Maps.
  • 予約リンク – link to make a reservation.
  • Booking_appointment_link – link to book an appointment.
  • menu_link – link to the menu.
  • ORDER_LINK – link to place an order.
  • location_link – link to the place on Google Maps.
  • place_id – unique identifier of the place (Google might update it a couple of times per year).
  • google_id - Feature IDと呼ばれる、その場所固有の識別子(Googleは年に数回更新する可能性があります)。
  • 酸塊 – multi-platform ID of a listing in the Google ecosystem.
  • reviews_id – unique identifier of the places’ reviews.

ビデオチュートリアル

よくある質問

最も頻繁な質問と回答

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のコメント

コメントを残す

アバタープレースホルダー