Replace urllib2 by requests.