Before the pandemic, I’d been thinking about writing a little aggregator to pull movie times at my favorite local indie theaters into a calendar. I’m bad at remembering to see that cool showing a month from now but if I had a calendar that would theoretically help.
Obviously I didn’t need it for the last couple of years but the silver lining is that I got better at Python. I spent some time coding over the last week of my sabbatical and voila: the Seattle Arthouse Movie Calendar.
The code is here. I was sort of fiddling around with making it a real library but decided not to chew off too much at once. It was enough fun learning how to use classes to make it super-easy to add a new theater.
Lots of potential improvements. I am probably going to generate separate calendars for each theater next, for convenience. I’d also like to render maybe three days worth of calendar on the Web page. I feel like doing more than that risks pulling traffic away from the official theater sites, which I’d prefer to avoid, but three days seems reasonable.
I’m going to write up some notes on using the code for other cities too. If you’re decent with Python you could probably figure it out from reading what’s there but documentation is a good practice anyhow.