← All Projects
active

Concert Ticket Price Monitor

Automated price monitor for resale concert tickets — scrapes StubHub and Viagogo every 30 minutes via GitHub Actions and emails an alert when prices drop below threshold.

pythonplaywrightgithub-actionsautomationweb-scraping

Concert Ticket Price Monitor

StubHub concert ticket listings
StubHub concert ticket listings
Viagogo concert ticket listings
Viagogo concert ticket listings

A serverless price watcher built on GitHub Actions cron. Python + Playwright bypasses WAF challenges on both StubHub and Viagogo, normalizes fees across platforms, and fires a Gmail alert when prices cross the threshold.

How It Works

GitHub Actions cron (every 30 min) → Python + Playwright (headless Chromium) → StubHub + Viagogo DOM scrape → compare price + fees to threshold → Gmail SMTP alert if below.

Interesting Problems

AWS WAF challenges — both platforms sit behind AWS WAF. Playwright handles this by waiting for the price element to appear instead of scraping immediately.

Fee normalization — Viagogo adds a processing fee on top of the listed price. A configurable VIAGOGO_FEE is added before comparing to threshold.

No server needed — GitHub Actions provides free cron execution at zero runtime cost.

Stack

LayerTech
LanguagePython 3.9
Browser automationPlaywright (headless Chromium)
ScheduleGitHub Actions cron (every 30 min)
AlertsGmail SMTP
ConfigGitHub secrets + repository variables