switched from urllib2 to requests