cl-tld

https://github.com/1u4nx/cl-tld.git

git clone 'https://github.com/1u4nx/cl-tld.git'

(ql:quickload :cl-tld)
0

cl-tld

Extracts the TLD(Top Level Domain) from domain.TLD info from https://publicsuffix.org

Usage

CL-USER> (ql:quickload "cl-tld")
("cl-tld")
CL-USER> (cl-tld:get-tld "www.shellcodes.org")
"org"
CL-USER> (cl-tld:get-domain-suffix "www.shellcodes.org")
"shellcodes.org"