python3-tldextract
Accurately separate the TLD from the registered domain and subdomains of a URL
License: BSD
https://pypi.python.org/pypi/tldextract
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | ✓ | — | 2.2.1 |
| RHEL 7 | — | — | — | |
| RHEL 6 | — | — | — |
Description
Accurately separate the TLD from the registered domain and subdomains of a URL, using the Public Suffix List. By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well. This is the Python 3 version of the package.
Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
Install
CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install python3-tldextract