From 01e3b2eda10e8a83ac1adcaf7c6e0a365d1e9239 Mon Sep 17 00:00:00 2001 From: Marc Richter Date: Mon, 13 Jan 2025 20:26:36 +0100 Subject: [PATCH] Adjust not found text for us domains --- whois/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whois/parser.py b/whois/parser.py index 467736a..a4b5685 100644 --- a/whois/parser.py +++ b/whois/parser.py @@ -728,7 +728,7 @@ class WhoisUs(WhoisEntry): } def __init__(self, domain, text): - if "Not found:" in text: + if "No Data Found" in text: raise PywhoisError(text) else: WhoisEntry.__init__(self, domain, text, self.regex)