I found an easier way to do this. For example, let's try Arrow.
1. Click the following link: https://itunes.apple.com/us/tv-season/arrow-season-1/id56243...
2. Click "Buy Season Pass".
3. All the episodes will download automatically as soon as they're available!
I didn't even have to build a web app for this.