-
-
Notifications
You must be signed in to change notification settings - Fork 15
implements an IDNA-encoded version of publicsuffix2. #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
includes additional functionality for strict checks, ignoring wildcards, and finding eTLD only. maps main function of get_public_suffix() to get_sld() for clarity.
make test compatible with python2
…for merge into publicsuffix2 library.
|
upgrades pushed to new pypi module, publicsuffix3 |
|
@KnitCode I am sorry I had missed that PR entirely!!! |
|
@pombredanne ok.. i should have tried to ping you once more before pushing to pypi. someone asked for the ability to see the tld list, so i added that as an attribute this morning. that's only a few lines of code, so I can add that in and push it here. i can then delete publicsuffix3 on pypi... i'm assuming that won't be hard. ;) |
access the 'list' of TLDs. fixes some documentation typos. version bump to 20190808.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking all good to me.
See the minor nits I made inline... I can handle these alright too.
|
Thank you ++! |
not sure whether you'd want to include these change in main repo, but they include corrections and enhancements we use in our work. Addresses the change to the publicsuffix list to be utf-8 not idna-encoded, and contains some variations that we have found to be useful. updated the documentation in the code and README. but right now, it's a bit of a merge.
includes additional functionality for strict checks, ignoring
wildcards, and finding eTLD only. maps main function of
get_public_suffix() to get_sld() for clarity.