--- a/whois/parser.py Mon Feb 05 19:47:43 2018 +0000
+++ b/whois/parser.py Mon Feb 12 14:46:28 2018 -0500
@@ -274,10 +274,22 @@
return WhoisIe(domain, text)
elif domain.endswith('.nz'):
return WhoisNz(domain, text)
+ elif domain.endswith('.space'):
+ return WhoisSpace(domain, text)
else:
return WhoisEntry(domain, text)
+class WhoisSpace(WhoisEntry):
+ """Whois parser for .com domains
+ """
+ def __init__(self, domain, text):
+ if 'No match for "' in text:
+ raise PywhoisError(text)
+ else:
+ WhoisEntry.__init__(self, domain, text)
+
+
class WhoisCom(WhoisEntry):
"""Whois parser for .com domains
"""