https://github.com/wxiaoguang/tldparser
Top-level domain parser
https://github.com/wxiaoguang/tldparser
domain domain-parser go golang php publicsuffix publicsuffixlist python python3 suffix tld top-level-domains
Last synced: 5 months ago
JSON representation
Top-level domain parser
- Host: GitHub
- URL: https://github.com/wxiaoguang/tldparser
- Owner: wxiaoguang
- License: mit
- Created: 2019-12-10T04:42:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-11T10:12:07.000Z (almost 4 years ago)
- Last Synced: 2025-10-25T11:04:08.783Z (8 months ago)
- Topics: domain, domain-parser, go, golang, php, publicsuffix, publicsuffixlist, python, python3, suffix, tld, top-level-domains
- Language: PHP
- Size: 271 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Top-level domain parser
## FAQ
### Why?
I need a simple and fast top-level domain parser to analyse network traffic.
### How to use it?
See the tests.
### Which data does it use?
https://publicsuffix.org/list/public_suffix_list.dat
### How to learn about the domain naming system?
* https://publicsuffix.org/learn/
* https://www.icann.org/resources/pages/tlds-2012-02-25-en
### Why no PHP composer or Go mod?
Too simple to introduce them, unless there are enough users and interests.
### How to update the data?
Run `./generate.php`