Replaced urllib2 request by requests