Skip to content

🎟️ A CLI tool to log into your Luma account, fetch all your event guest lists, and extract attendee email addresses into a CSV.

License

Notifications You must be signed in to change notification settings

WaterlooBlockchain/luma-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎟️ luma-scraper

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.


πŸ“¦ Features

  • βœ… 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

βš™οΈ Setup

1. Clone this repo

git clone https://github.com/WaterlooBlockchain/luma-scraper.git
cd luma-scraper

2. Install dependencies

Make sure you’re using Python 3.10 or higher.

pip install -r requirements.txt

3. Set up your environment

Create a .env file in the root folder:


πŸš€ Usage

Run the scraper from the terminal:

python main.py

You’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

πŸ“‚ Output Example

A sample guests.csv file will look like:


πŸ” Handling Cloudflare Blocks

If Luma rate-limits your request:

  • The blocked event_api_id will be saved to failed.txt
  • Rerun the script in Mode 2 later to retry those events

🧼 Good Practices


πŸ“„ License

MIT β€” Free to use, modify, and distribute.


🀝 Contributing

Suggestions, ideas, or improvements are welcome. Feel free to open an issue or submit a pull request!


About

🎟️ A CLI tool to log into your Luma account, fetch all your event guest lists, and extract attendee email addresses into a CSV.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages