Replace all urllib and urllib2 calls with requests