urllib2 replaced by requests