def fetch(self, url):
        socket.setdefaulttimeout(self.socket_timeout)
        req = Request(url, headers={'User-Agent': self.user_agent})
        try:
            resp = fetch(req)
        except URLError:
            return False
        except __HOLE__:
            return False
        except socket.timeout:
            return False
        except ssl.SSLError:
            return False
        return resp
dataset/ETHPy150Open coleifer/micawber/micawber/providers.py/Provider.fetch