def get_cookie(self, name, default=None):
        """Gets the value of the cookie with the given name, else default."""
        if self.info.cookies is not None and name in self.info.cookies:
            return unquote(self.info.cookies[name].value)
        return default
dataset/ETHPy150Open letolab/airy/airy/core/web.py/AiryCoreHandler.get_cookie/original