1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/tldextract/README.md
2024-02-25 12:55:14 +08:00

18 lines
356 B
Markdown

tldextract
==========
[tldextract][1] accurately separates a URL's subdomain, domain, and public
suffix, using the Public Suffix List (PSL).
## Tutorial
```bash
# Create an alias
$ alias tldextract='docker run --rm -u $(id -u):$(id -g) vimagick/tldextract'
# Run it
$ tldextract -j www.google.com
```
[1]: https://github.com/john-kurkowski/tldextract