from tld import get_tld

def get_domain_name(url):
    domain = get_tld(url, as_object=True)
    domain_name = domain.parsed_url.scheme + "://" + domain.fld
    return domain_name

07a7d16fad5a197d38c33915600ec4d6341b9ed0
<mask token>

<mask token>


def get_domain_name(url):
    domain = get_tld(url, as_object=True)
    domain_name = domain.parsed_url.scheme + '://' + domain.fld
    return domain_name

from tld import get_tld


def get_domain_name(url):
    domain = get_tld(url, as_object=True)
    domain_name = domain.parsed_url.scheme + '://' + domain.fld
    return domain_name

from tld import get_tld

def get_domain_name(url):
    domain = get_tld(url, as_object=True)
    domain_name = domain.parsed_url.scheme + "://" + domain.fld
    return domain_name
