We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b97f9a commit 810dd45Copy full SHA for 810dd45
guarddog/analyzer/metadata/utils.py
@@ -26,7 +26,7 @@ def get_domain_creation_date(domain) -> tuple[Optional[datetime], bool]:
26
27
try:
28
domain_information = whois.whois(domain)
29
- except whois.parser.PywhoisError as e:
+ except whois.exceptions.PywhoisError as e:
30
# The domain doesn't exist at all, if that's the case we consider it vulnerable
31
# since someone could register it
32
return None, (not str(e).lower().startswith("no match for"))
0 commit comments