luma-event-attendees
Lumaイベントからスピーカー、ホスト、登録ゲストプロフィールを抽出し、アウトリーチ・プロスペクティングに活用します。
2つのモード
1. 直接スクレイピング(無料)
Lumaのイベントページを直接スクレイピングします。イベントメタデータとホスト情報を取得します。ゲストプロフィールは、ページに公開埋め込みされている場合のみ取得可能です。
python3 scripts/scrape_event.py https://lu.ma/abc123
2. Apify検索(有料、ゲストリストにおすすめ)
lexis-solutions/lu-ma-scraper Apifyアクターを使用してLumaを検索し、注目のゲストプロフィール(名前、経歴、LinkedIn、Twitter、Instagram、ウェブサイト)を含む完全なイベントデータを取得します。
python3 scripts/scrape_event.py --search "AI San Francisco"
費用: Apifyで月額29ドルの定額制。 レンタル: https://console.apify.com/actors/r5gMxLV2rOF3J1fxu
セットアップ
1. Apify APIトークン(--searchモードで必須)
- アカウント作成: https://apify.com/
- APIトークン取得: https://console.apify.com/account/integrations
- Lumaスクレイパーをレンタル: https://console.apify.com/actors/r5gMxLV2rOF3J1fxu(月額29ドル、24時間無料トライアルあり)
- トークンを設定:
export APIFY_API_TOKEN="apify_api_YOUR_TOKEN_HERE"
# またはスキルディレクトリに.envファイルを作成
2. 依存関係のインストール
pip3 install requests
使い方
直接スクレイピング(無料、ホストのみ)
# 単一イベント
python3 scripts/scrape_event.py https://lu.ma/pwciozw0
# 複数イベント
python3 scripts/scrape_event.py https://lu.ma/abc https://lu.ma/def
# CSVにエクスポート
python3 scripts/scrape_event.py https://lu.ma/abc --output hosts.csv
Apify検索(ゲストプロフィール)
# SFのAIイベントを検索
python3 scripts/scrape_event.py --search "AI San Francisco"
# イベント一覧のみ表示(人物を抽出しない)
python3 scripts/scrape_event.py --search "SaaS NYC" --events-only
# 全ゲストをCSVにエクスポート
python3 scripts/scrape_event.py --search "AI San Francisco" --output guests.csv
# JSONとしてエクスポート
python3 scripts/scrape_event.py --search "AI SF" --output guests.json --json
キャッシュ
デフォルトでは結果が24時間キャッシュされます:
# 強制的に最新データを取得
python3 scripts/scrape_event.py --search "AI SF" --no-cache
# カスタムキャッシュ期間
python3 scripts/scrape_event.py --search "AI SF" --cache-hours 12
オプションリファレンス
位置引数:
urls 直接スクレイピングするイベントURL(無料)
検索:
--search, -s Apify経由でLumaを検索(例: 'AI San Francisco')
--events-only イベント一覧のみ表示、人物を抽出しない
出力:
--output, -o 出力ファイルパス(.csv または .json)
--json JSON形式で出力(デフォルト: CSV)
キャッシュ:
--no-cache キャッシュをスキップし、常に最新データを取得
--cache-hours キャッシュの最大有効時間(時間)(デフォルト: 24)
出力形式
CSV列
| name | event_role | bio | title | company | linkedin_url | twitter_url | instagram_url | website_url | username | event_name | event_date | event_url |
|---|
取得できる情報(一人あたり)
- name - 氏名
- event_role - ホスト、ゲスト、またはスピーカー
- bio - Lumaプロフィールの経歴
- linkedin_url - LinkedInプロフィールURL
- twitter_url - Twitter/XプロフィールURL
- instagram_url - Instagramハンドル
- website_url - 個人ウェブサイト
- username - Lumaユーザー名
- event_name - 関連するイベント名
- event_date - イベント日付(ISO形式)
- event_url - イベントへのリンク
AIエージェントワークフロー
このスキルは、プロスペクティングワークフローの一部としてAIエージェントから呼び出されるように設計されています:
ステップ1: イベントを検索
"Search Luma for AI and SaaS events in San Francisco"
python3 scripts/scrape_event.py --search "AI San Francisco" --events-only
ステップ2: ゲストプロフィールを抽出
"Get all guest profiles from those events"
python3 scripts/scrape_event.py --search "AI San Francisco" --output guests.csv
ステップ3: ICP(理想的な顧客プロファイル)で絞り込み
エージェントにCSVをフィルタリングさせる:
"From these guests, find founders/VPs at B2B SaaS companies, 20-200 employees"
ステップ4: エンリッチ
対象リードに対して:
- LinkedInプロフィールを確認し、役職・企業詳細を取得
- 所属企業を調査
- 重複シグナル(採用中?最近資金調達?)をチェック
ステップ5: アウトリーチを生成
"Draft connection requests for qualified guests. I'll be at [event]. We sell [product] at [price]. Keep it casual."
データアクセスの現実
| データ | 直接スクレイピング(無料) | Apify検索(有料) |
|---|---|---|
| イベントメタデータ | はい | はい |
| ホスト/主催者 | はい | はい |
| 注目ゲスト(公開RSVP) | 場合により | はい |
| 参加者全リスト | いいえ(認証が必要) | 一部(公開プロフィールのみ) |
| ゲストのLinkedIn/Twitter | はい(ページ内にあれば) | はい |
| ゲストの経歴 | はい(ページ内にあれば) | はい |
| ゲストのメールアドレス | いいえ | いいえ |
注意: Lumaイベントにはshow_guest_list設定があります。これが無効の場合、ゲストプロフィールは公開アクセスできません。Apifyスクレイパーは、イベントにfeatured_guestsがある場合、それらを取得できます。
プロンプト例
クイック検索:
"Find AI events in SF this month and get me guest profiles"
ターゲット指定:
"Search Luma for 'SaaS growth' events. Export all guest profiles to CSV. Then qualify against our ICP: VP+ at B2B SaaS, 50-500 employees."
完全ワークフロー:
"Search Luma for AI and developer events in SF. Get all guest profiles. For each person with a LinkedIn, check if they match our ICP (founders/VPs at B2B SaaS, 20-200 employees, Series A-C). Draft pre-event connection requests for the ones I'll see at [event name]. We sell GTM engineering at $10K/month. Output qualified leads to CSV."
トラブルシューティング
"APIFY_API_TOKEN not set"
export APIFY_API_TOKEN="your_token_here"
"Apify actor not rented"
Lumaスクレイパーをレンタル: https://console.apify.com/actors/r5gMxLV2rOF3J1fxu
イベントにゲストが見つからない
- イベントで
show_guest_listが無効になっている可能性があります featured_guestsにアクセスできる--searchモードを試してください- 単に公開ゲストプロフィールがないイベントもあります
"ModuleNotFoundError: requests"
pip3 install requests
メタデータ
metadata:
clawdbot:
emoji: "🎤"
requires:
env: ["APIFY_API_TOKEN"]
bins: ["python3"]
packages: ["requests"]
Gooseによって構築 - Apify(lexis-solutions/lu-ma-scraper)を搭載