After upgrading, update your cache file by deleting it or via tldextract --update
.
- Bugfixes
- Domain parsing fails with trailing spaces - #75
- Update to latest, direct PSL links - #77
- Misc.
- Update bundled PSL snapshot
- Require requirements.txt for local development
- Enforce linting via the test suite - #79
- Switch to py.test runner - #80
- No longer distribute tests. No mention of
test_suite
in setup.py. CI is handled centrally now, on this project's GitHub.
Fix publishing mistake with 1.7.0.
- Features
- Can include PSL's private domains on CLI with
--private_domains
boolean flag
- Can include PSL's private domains on CLI with
- Bugfixes
- Improved support for multiple Punycode (or Punycode-looking) parts of a URL
- Mixed in/valid
- Mixed encodings
- Fix
ExtractResult._asdict
on Python 3.4. This should also save space, as__dict__
is not created for eachExtractResult
instance.
- Improved support for multiple Punycode (or Punycode-looking) parts of a URL
- Features
- Pass
extra_suffixes
directly to constructor
- Pass
- Bugfixes
- Punycode URLs were returned decoded, rather than left alone
- Things that look like Punycode to tldextract, but aren't, shouldn't raise
- Print unified diff to debug log, rather than inconsistent stderr
- Bugfixes
- Missing setuptools dependency
- Avoid u'' literal for Python 3.0 - 3.2 compatibility. Tests will still fail though.
- Bugfixes
- Exclude PSL's private domains by default - #19
- This is a BREAKING bugfix if you relied on the PSL's private domains
- Revert to old behavior by setting
include_psl_private_domains=True
UnicodeError
for inputs that looked like an IP
- Exclude PSL's private domains by default - #19
- Features
- Support punycode inputs
- Bugfixes
- Fix minor Python 3 unicode errors
- Bugfixes
- Match PSL's GitHub mirror rename, from mozilla-central to gecko-dev
- Try Mozilla's PSL SPOT first, then the mirror
- Features
- Specify your own PSL url/file with
suffix_list_url
kwarg fallback_to_snapshot
kwarg - defaults to True
- Specify your own PSL url/file with
- Deprecations
fetch
kwarg
- Features
- Better CLI
- Cache env var support
- Python 3.3 support
- New aliases
suffix
andregistered_domain
- Bugfixes
- Fix dns root label
- Bugfixes
- Reliable logger name
- Forgotten
import sys