change to requests library instead of urllib2