A CLI tool to log into your Luma account, fetch all your event guest lists, and extract attendee email addresses into a CSV.
Useful for organizers who want a quick export of attendee data from multiple events.
- β Secure OTP-based login (no password stored)
- β Automatically scrapes all events you manage
- β Downloads CSVs of guest lists
- β Extracts and saves only email addresses
- β Handles Cloudflare rate limiting gracefully
- β Retry failed events via recovery mode
git clone https://github.com/WaterlooBlockchain/luma-scraper.git
cd luma-scraperMake sure youβre using Python 3.10 or higher.
pip install -r requirements.txtCreate a .env file in the root folder:
EMAIL=[email protected]Run the scraper from the terminal:
python main.pyYouβll be prompted with two modes:
- Mode 1: Fetch emails from all events you manage
- Mode 2: Retry previously failed events (saved in
failed.txt)
After selecting Mode 1, you'll receive a one-time password (OTP) in your email. Enter it to log in.
Extracted emails will be saved to:
guests.csv
A sample guests.csv file will look like:
If Luma rate-limits your request:
- The blocked
event_api_idwill be saved tofailed.txt - Rerun the script in Mode 2 later to retry those events
- Only scrape events that you manage β this tool is for authorized use only
- Always respect Lumaβs Terms of Service
MIT β Free to use, modify, and distribute.
Suggestions, ideas, or improvements are welcome. Feel free to open an issue or submit a pull request!