use requests library instead of urllib2