def _parse_host(self, resource):

        host = resource.split("@")[-1]

        if host in UNOFFICIAL_ENDPOINTS and not self.official:
            unofficial_host = UNOFFICIAL_ENDPOINTS[host]
            logging.debug('host %s is not supported, using unofficial endpoint %s' % (host, unofficial_host))
            host = unofficial_host

        return host
dataset/ETHPy150Open jcarbaugh/python-webfinger/webfinger.py/WebFingerClient._parse_host/original