First of all many thanks to all the people involved in this project, I really appreciate his/her time.
I was wondering if library is expected to simply validate a domain from a RFC standpoint or is expected to check a list of TLDs for instance.
Steps to reproduce
- Create a script
cat <<EOF >> test.py
#!/usr/bin/python3
from validators import domain
print(domain("sanpellegrino-corporate.itOLDWEBSITE"))
EOF
- Execute it
Expected behaviour
Found behaviour
Errors
None
Additional information
Operating system:
Debian GNU/Linux bookworm/sid \n \l
Library version:
Python version: