May 22, 2017 · Practical Automation

Practical Automation: Cinema listings to my inbox

This post is part of an occasional series on the subject of "Practical Automation": small pieces of scripting/tooling which can ease the burden of mundane or repetitive everyday tasks. My previous post on Creating my first Slack bot was somehow a year ago; expect the posts to appear much more frequently in the coming months!

There's no avoiding the subject - I'm certainly something of a movie addict. The clues are certainly out there: my film podcast Screen Testing is marching towards double-figures, and at the time of writing, I've seen 293 films this year including 53 visits to the cinema.

Because of this, I spend a lot of time browsing the upcoming movie listings on the Cineworld website (I'm a Cineworld Unlimited subscriber, which means I get to see as many films as I like for a single monthly fee - ergo I'll watch pretty much anything that comes out.)

There are a few minor recurring gripes with this process:

This meant that I was wasting a fair amount of time on Mondays/Tuesdays checking the listings pages for multiple cinemas to see whether tickets had become available yet. Using my favourite xkcd reference for automation, I figured that I could easily justify spending a few hours trying to automate a solution to the problem. And lo, that's what I did!

Emailed cinema listings

Click here to see the Cineworld Listings Watcher project on GitHub

There's a lot more detail (including the source code that you can play with yourself) on the GitHub link, but this was quite a simple solution to solve:

Now, once a week, I get a new email in my inbox from each of my four local cinemas, showing me which films they're going to be screening. After only a few weeks, I'm certain that I've already hit ROI on the few hours that I spent preparing that script; that's my favourite thing about "Practical Automation", it's much easier to see measurable benefits in a short space of time.

Please feel free to take my source code, explore with it, and maybe see whether other cinema chains have their own endpoints for which you could adapt this script!

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus