dns-domain-expiration-checker
dns-domain-expiration-checker copied to clipboard
ignore line when server returns an EXPIRE_STRING with an empty value.
When checking my domains, I found that the whois server was returning these lines: Registry Expiry Date: 2021-02-13T22:31:37Z Registrar Registration Expiration Date:
The second one, with an empty expiration date, would cause it to throw an error:
Traceback (most recent call last):
File "dns-domain-expiration-checker.py", line 242, in
In this pull request, if the date value is empty it moves on to parsing the next line of the whois data.