moved from requests to urllib2