Skip to content

Show eTLD from Public Suffix List. Trie version and Set version.

License

Notifications You must be signed in to change notification settings

y-i/eTLD-match-checker

Repository files navigation

eTLD-match-checker

cheker badge Auto deploy to vercel

Set up

  • git clone [email protected]:y-i/eTLD-match-checker.git
  • curl https://publicsuffix.org/list/public_suffix_list.dat | sed '/^$/d' | grep -v -- "//" > files/list.dat
  • pipenv install --dev

How to use

Document

Test

  • pipenv run pytest

Implemented

  • null input
  • Mixed case
  • Leading dot
  • Unlisted TLD
  • Listed, but non-Internet, TLD
  • TLD with only 1 rule
  • TLD with some 2-level rules
  • TLD with only 1 (wildcard) rule
  • More complex TLD
  • TLD with a wildcard rule and exceptions
  • US K12
  • IDN labels
  • Same as above, but punycoded

About

Show eTLD from Public Suffix List. Trie version and Set version.

Topics

Resources

License

Stars

Watchers

Forks