def _open_url(self, url):
        """
        Put here to make catching exceptions easier
        
        Sometimes Steam seems to throttle your requests if you're hitting them a bit hard.
        If you get an HTTPError from that, it will pause and retry a few times, which usually
        results in Steam letting your next requests go through. If it fails all the retries, it
        will just return None and continue on.

        TODO - better error logging for failed requests.

        """
        try:
            return urllib2.urlopen(url)
        except urllib2.URLError as e:
            print 'URLError = ' + str(e.reason)
        except urllib2.HTTPError as e:
            print 'HTTPError = ' + str(e.code)
            return self._retry(self, url, self.time, self.tries)
        except __HOLE__ as e:
            print 'Not a proper URL'
        except:
            return self._retry(url, self.time, self.retries)
dataset/ETHPy150Open naiyt/steamapiwrapper/steamapiwrapper/SteamBase.py/SteamAPI._open_url