Version: NextOn this pagePublicSuffixList Registrable domain lookup based on the ICANN section of the Public Suffix List. The rules are downloaded on first use, falling back to the bundled snapshot if the download fails. After that, they don't change.Index Methodsget_registrable_domainMethods get_registrable_domain get_registrable_domain(host): str | NoneReturn the registrable domain of host, or None for IP addresses and public suffixes.Parametershost: strReturns str | None
Registrable domain lookup based on the ICANN section of the Public Suffix List.
The rules are downloaded on first use, falling back to the bundled snapshot if the download fails. After that, they don't change.