Hospital Records podcasting with Python
23 Oct 2010
I've recently started listening to the Hospital Records podcast while at work when I can't think of anything to listen to on Spotify. Since I have no music on my work computer, and therefore no proper media player, I lack the ability to use the podcasting service properly and so I wrote a small Python script to do it for me.
./hospitalrecords.py --list
Shows a list of the recent podcasts in reverse chronological order. The numbers printed on each line are identifiers for each podcast.
./hospitalrecords.py --info 2
Show the date and tracklisting for the second podcast in the list.
./hospitalrecords.py --get 2
Downloads the second podcast in the list. The mp3 will be saved in the current working directory.
Get the script here.