tld-extract
Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .
Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .
Extract the TLD from a URL against the [public suffix list](https://publicsuffix.org/).
Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .