Revised to use the Requests library instead of urllib2

urllib2 wasn't handling redirects properly, among other things