Contents

tldextract 5.3.1

0

Accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL

Accurately 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.

Stars: 1973, Watchers: 1973, Forks: 212, Open Issues: 19

The john-kurkowski/tldextract repo was created 14 years ago and the last code push was 1 months ago.
The project is very popular with an impressive 1973 github stars!

How to Install tldextract

You can install tldextract using pip

pip install tldextract

or add it to a project with poetry

poetry add tldextract

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/tldextract/
GitHub Repo:
https://github.com/john-kurkowski/tldextract

Classifiers

  • Utilities
No  tldextract  pypi packages just yet.

Errors

A list of common tldextract errors.

Code Examples

Here are some tldextract code examples and snippets.

GitHub Issues

The tldextract package has 19 open issues on GitHub

  • Overriding suffix_list_urls
  • README example uses tldextract.extract_urllib, but method is not exported
  • tldextract uses multiple cache directories in XDG_CACHE_DIR
  • Block network requests during tests

See more issues on GitHub