HUDL Game Film Downloader (CLI and Desktop App)
A command line and desktop tool that downloads Hudl game film from almost any Hudl link, lets you pick the quality, and runs batches from a spreadsheet.
The problem
Hudl lets coaches and analysts watch game film in its own player, but they also need the files offline to study, cut and share. Hudl links come in four different shapes, which is why a plain paste-a-link-and-download tool is harder to get right than it sounds.
How I built it
I wrote one extractor that works out which kind of link it was given (a direct playlist, a fan page, a vCloud embed or a generic Hudl page) and finds the video playlist behind it, reading the page's own data where there is a public interface and falling back to page scraping where there is not. A quality picker reads the master playlist and labels each level by resolution and codec, FFmpeg does the download with live progress, and batch mode runs up to five downloads at once from a list of links or a .txt, .csv or .xlsx file. For non-technical users there is a dark desktop window and a PyInstaller build script for a single .exe.
What got hard
- Hudl does not use one link format. Direct playlist links, fan pages, vCloud embeds and generic pages each hide the video playlist in a different place, and fan pages encode it.
I built a link-type detector and one extractor per shape behind a single entry point. Fan pages go through Hudl's public GraphQL call plus a base64 decode and a VMAP lookup, embeds go through VMAP with a scrape fallback, and anything else is scanned for a playlist address, so the user just pastes whatever they have.
- Hudl's playlist links are token based and refuse requests without matching Referer and User-Agent headers, and an expired token shows up as a bare 403 error.
The tool sends the headers Hudl expects, and the troubleshooting guide tells people what a 403 means (the token expired, so copy a fresh link) instead of leaving them guessing.
- Hudl publishes each game at four quality levels, two of them 1080p in different codecs (HEVC and H.264), and streams at roughly real-time speed, so the choice of level matters.
The quality picker parses the master playlist, labels every level with resolution, codec and bitrate, and lets the user choose best, 1080p, 720p, 540p or worst, while batch mode downloads up to five games at once.
The result
Shipped as a command line tool plus a desktop app, published on GitHub, and it became the starting point for the larger multi-platform import service I built for a sports video platform.
The ← and → keys turn the page too.