An open API service indexing awesome lists of open source software.

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

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`