finding-hospitality-brands-on-instagram について
指定した Instagram URL の投稿をスクレイピングし、宿泊・観光ブランドを探すワークフロースキルです。フォロワー数、エンゲージメント、位置情報タグでアカウントを採点・分類し、ブロガーや集約アカウントを見分ける方法も示します。
主な機能
- 01Instagram 投稿のスクレイピング
- 02三つの指標によるアカウント採点
- 03見込み度の分類
- 04ブロガーや集約アカウントの除外
活用シーン
- 01ニッチなハッシュタグからホテルを探す
- 02宿泊業の見込み顧客に優先順位を付ける
- 03ホテルブランドと旅行ブロガーの判別
MCP 対応
Apify MCP が利用可能な場合、call_actor ツールで Instagram スクレイパーを実行します。
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ apidojo-io/ apidojo-skills --skill finding-hospitality-brands-on-instagramインストール後、Claude Code で/finding-hospitality-brands-on-instagramを入力して読み込まれたか確認します。
詳細
Instagramでホスピタリティブランドを探す
入力
| パラメーター | 型 | 必須 | デフォルト | 備考 |
|---|---|---|---|---|
startUrls | 配列 | ✅ | [] | InstagramのURL — プロフィール、ハッシュタグ、位置情報、音声ページ、リール |
until | 文字列 | 任意 | — | 指定日(YYYY-MM-DD)まで投稿をスクレイピングします |
maxItems | 数値 | 任意 | 無制限 | 返す投稿の最大数 |
customMapFunction | 文字列 | 任意 | — | 各出力オブジェクトを変換するJavaScript関数 |
実行方法
run_actor.js を使用する(推奨)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "maxItems": 100}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "maxItems": 100}' --output results.csv --format csv
# Save as JSON
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "maxItems": 100}' --output results.json --format json
REST API による代替方法
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "maxItems": 100}'
Apify MCP が利用可能な場合:
Apify MCP の call_actor ツールを使用し、アクターに apidojo~instagram-scraper、入力に上記の内容を指定してください。
スコアリングとランキング
各アカウントを次のようにスコアリングします:
followerCount→ 0~1に正規化(上限は100K)、重み0.35engagement_rate = (likeCount + commentCount) / followerCount→ 重み0.35has_location_tag(投稿に位置情報データがある)→ 0または1、重み0.30
score = 0.35 * min(followerCount / 100000, 1.0) + 0.35 * min(engagement_rate / 0.03, 1.0) + 0.30 * int(has_location)
分類
| スコア | ティア | ラベル |
|---|---|---|
| ≥ 0.70 | A | PRIME_PROSPECT |
| 0.40–0.69 | B | WARM_LEAD |
| < 0.40 | C | LOW_PRIORITY |
エッジケース
- 旅行ブロガーとホテルブランド:ブロガーも旅行コンテンツを投稿します。位置情報タグがあり、プロフィール文に「hotel」または「resort」を含むアカウントに絞り込みます。
- 広範なハッシュタグ:#travel は投稿が多すぎます。#boutiquehotel、#hotelowner、#hotelmarketing を使用してください。
- アグリゲーターアカウント:TripAdvisor や Booking.com のアグリゲーターは、ドメインの確認によって除外します。
- エンゲージメントが低い場合:ホスピタリティブランドは、インフルエンサーよりエンゲージメントが低いことがよくあります。しきい値を調整してください。
- 一般ユーザーの投稿:宿泊客が投稿でホテルをタグ付けすることがあります。アカウントのフォロワー数が500を超えるものに絞り込みます。
コメント
Markdown 対応