linkify/priv/lowercase.py
2023-01-10 16:59:50 +01:00

9 lines
207 B
Python
Executable file

#!/usr/bin/env python3
from urllib.request import urlopen
tlds = urlopen('https://data.iana.org/TLD/tlds-alpha-by-domain.txt').read().decode('utf8')
for line in tlds.splitlines():
print(line.lower())