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 BergWerkGIS/QGIS-CKAN-Browser/CKAN-Browser/request/packages/urllib3/util/url.py/get_host