You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
.se domain whois query fails to parse '-' modified date and raises UnknownDateFormat exception.
To Reproduce
Steps to reproduce the behavior:
>>> import whois
>>> whois.query('amcon.se')
we have se
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/whois/__init__.py", line 289, in query
return Domain(
File "/usr/local/lib/python3.10/site-packages/whois/_3_adjust.py", line 57, in __init__
self.last_updated = str_to_date(data["updated_date"][0], self.tld.lower())
File "/usr/local/lib/python3.10/site-packages/whois/_3_adjust.py", line 228, in str_to_date
raise UnknownDateFormat("Unknown date format: '%s'" % text)
whois.exceptions.UnknownDateFormat: Unknown date format: '-'
The text was updated successfully, but these errors were encountered:
Describe the bug
.se domain whois query fails to parse '-' modified date and raises UnknownDateFormat exception.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: