Accurately separates a URL’s subdomain, domain, and public suffix, using the Public Suffix List (PSL).
BSD-3-CLAUSE License
Bot releases are visible (Hide)
Full Changelog: https://github.com/john-kurkowski/tldextract/compare/5.1.1...5.1.2
Published by john-kurkowski 11 months ago
Full Changelog: https://github.com/john-kurkowski/tldextract/compare/5.1.0...5.1.1
Published by john-kurkowski 12 months ago
Full Changelog: https://github.com/john-kurkowski/tldextract/compare/5.0.1...5.1.0
Published by john-kurkowski about 1 year ago
Full Changelog: https://github.com/john-kurkowski/tldextract/compare/5.0.0...5.0.1
Published by john-kurkowski about 1 year ago
ExtractResult
from namedtuple
to dataclass
(#306)
tldextract.extract("example.com")[1:3]
you must use
ext = tldextract.extract("example.com")
(ext.domain, ext.suffix)
Full Changelog: https://github.com/john-kurkowski/tldextract/compare/4.0.0...5.0.0
Published by john-kurkowski about 1 year ago
is_private: bool
, to the ExtractResult
namedtuple
, indicating whether the extraction came from the PSL'sExtractResult.subdomain
) or convenience properties (e.g.ExtractResult.{fqdn,registered_domain}
).Full Changelog: https://github.com/john-kurkowski/tldextract/compare/3.5.0...4.0.0
This is the same content as version 3.6.0, originally released 2023-09-19,
which was yanked.
Published by john-kurkowski about 1 year ago
is_private: bool
, to the ExtractResult
namedtuple
, indicating whether the extraction came from the PSL'sExtractResult.subdomain
) or convenience properties (e.g.ExtractResult.{fqdn,registered_domain}
).Full Changelog: https://github.com/john-kurkowski/tldextract/compare/3.5.0...3.6.0
Published by john-kurkowski about 1 year ago
Full Changelog: https://github.com/john-kurkowski/tldextract/compare/3.4.4...3.5.0