--- a/whois/parser.py Sat Dec 02 23:34:58 2017 +0100
+++ b/whois/parser.py Sun Dec 03 00:00:45 2017 +0100
@@ -1315,7 +1315,7 @@
}
def __init__(self, domain, text):
- if 'NOT FOUND' in text:
+ if 'no matching objects' in text:
raise PywhoisError(text)
else:
# Merge base class regex with specifics