Loosely error-proofed subdomain collection

This commit is contained in:
Geoffrey Frogeye 2019-11-10 23:22:21 +01:00
parent ed72f643fd
commit b81c7c17ee

View file

@ -44,8 +44,11 @@ def collect_subdomains_standalone(url: str) -> None:
url = url.strip()
if not url:
return
for subdomain in collect_subdomains(url):
print(subdomain)
try:
for subdomain in collect_subdomains(url):
print(subdomain)
except:
pass
if __name__ == '__main__':