def get_host(url):
    p = parse_url(url)
    return p.scheme or 'http', p.hostname, p.port
Deprecated. Use :func:`.parse_url` instead.
dataset/ETHPy150Open Bolton-and-Menk-GIS/restapi/restapi/requests/packages/urllib3/util.py/get_host