wiki2ics – wiki episode list page to .isc

A problem I’ve run into in the past is trying to find a quick way to get my favourite TV show schedules into iCal. It seems to always come down to manually entering dates or trying to figure out which weeks the show is playing.

Times have changed.

I wrote a python script that will accept any wikipedia address for a list of episodes (ex: http://en.wikipedia.org/wiki/List_of_Fringe_episodes) and returns an ics file that you can download and import into iCal.

Here’s where my little script lives: http://profeit.com/wiki2ics/. It’s very rough and ugly now, but it seems to work with most wikipedia episode list pages. Consider this version 0.01a. Be sure to let me know of the inevitable bugs you run into!

Confirmed working: How I Met Your Mother, House, It’s Always Sunny in Philadelphia, The League, Modern Family, Fringe, Big Bang Theory, Dexter, Family Guy, American Dad. The ones that don’t work are because of odd table stylings on the wiki page. Will eventually have to edit code to handle more odd styled tables.

Continue reading for tutorial.

Continue reading