# HG changeset patch # User Grigouze # Date 1512036043 -3600 # Node ID f8c4b2f6355b629f57b401aa13a729ce00937f3d # Parent 565c0268bc39b672066c609b79025bbb5fffc31b It's "NOT FOUND" and not "No entries found" diff -r 565c0268bc39 -r f8c4b2f6355b whois/parser.py --- a/whois/parser.py Thu Nov 30 10:54:42 2017 +0100 +++ b/whois/parser.py Thu Nov 30 11:00:43 2017 +0100 @@ -1292,7 +1292,7 @@ } def __init__(self, domain, text): - if 'No entries found' in text: + if 'NOT FOUND' in text: raise PywhoisError(text) else: WhoisEntry.__init__(self, domain, text, self.regex)