now uses requests instead of urllib2.