def get_main_domain_name(url_str) -> str:
    """get url domain texts

    Args:
        url_str (str): url string

    Returns:
        str: domain name of url
    """
    domain_name = url_str.split("/")[2]
    main_domain_name = domain_name.split(".")[-2]

    return main_domain_name