correction to missing urllib2. for HTTPError.