Ruby Selenium script to authenticate to Github and download all RailsCasts Pro videos

Here's a Ruby script I wrote that uses Selenium to authenticate and crawl railscasts.com, and Curb to download every RailsCasts Pro video. This assumes you have a paid RailsCasts account (http://railscasts.com/pro), dowit.