add openNIC

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-01-20 17:01:35 +01:00
parent f66e3935fa
commit 7a207ac59d
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 33 additions and 1 deletions

View file

@ -4,5 +4,7 @@ from urllib.request import urlopen
tlds = urlopen('https://data.iana.org/TLD/tlds-alpha-by-domain.txt').read().decode('utf8')
tlds += "\n" + urlopen('https://cdn.froth.zone/opennic-alpha-by-domain.txt').read().decode('utf8')
for line in tlds.splitlines():
print(line.lower())

View file

@ -1,4 +1,4 @@
# version 2023011000, last updated tue jan 10 07:07:01 2023 utc
# version 2023012000, last updated fri jan 20 07:07:01 2023 utc
aaa
aarp
abarth
@ -1480,3 +1480,33 @@ zm
zone
zuerich
zw
# opennic version 2023012000
# spdx-license-identifier: cc0-1.0
bbs
chan
cyb
dyn
epic
geek
gopher
indy
libre
neo
null
o
oss
oz
parody
pirate
bazar
coin
emc
lib
fur
ku
te
ti
uu
ko
rm