'Get the root domain name. Examples:
input: www.ciudad.com.ar
output: ciudad.com.ar
input: i.love.myself.ru
output: myself.ru'

def get_root_domain(self):

    if is_ip_address(self.netloc):
        return self.netloc
    extract = TLDExtract(suffix_list_url=False, fallback_to_snapshot=True)
    extract_result = extract(self.get_domain())
    return ('%s.%s' % (extract_result.domain, extract_result.suffix))
