tldextractAccurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well.
publicsuffix2Get a public suffix for a domain name using the Public Suffix List. Forked from and using the same API as the publicsuffix package.
urlextractCollects and extracts URLs from given text.
Weekly downloads over the last yearSeptemberOctoberNovemberDecember2026FebruaryMarchAprilMayJuneJulyAugustDate00.511.522.533.544.5 million downloads per week