Loosely error-proofed subdomain collection
This commit is contained in:
parent
ed72f643fd
commit
b81c7c17ee
|
@ -44,8 +44,11 @@ def collect_subdomains_standalone(url: str) -> None:
|
||||||
url = url.strip()
|
url = url.strip()
|
||||||
if not url:
|
if not url:
|
||||||
return
|
return
|
||||||
|
try:
|
||||||
for subdomain in collect_subdomains(url):
|
for subdomain in collect_subdomains(url):
|
||||||
print(subdomain)
|
print(subdomain)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue