Skip to content

Commit

Permalink
Merge pull request #264 from devnull-mr/us-domain
Browse files Browse the repository at this point in the history
Adjust not found text for us domains
  • Loading branch information
richardpenman authored Jan 14, 2025
2 parents dafd8d3 + 01e3b2e commit e3394db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whois/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3394db

Please sign in to comment.