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 a751c86 commit 5aaa4e4Copy full SHA for 5aaa4e4
22-asyncio/domains/probe.py
@@ -8,8 +8,10 @@
8
9
10
async def main(tld: str) -> None:
11
- names = (f'{w}.{tld}'.lower() for w in kwlist if len(w) <= 4)
12
- async for name, found in multi_probe(sorted(names)):
+ tld = tld.strip('.')
+ names = (w.lower() for w in kwlist if len(w) <= 4)
13
+ domains = (f'{name}.{tld}' for name in names)
14
+ async for name, found in multi_probe(domains):
15
mark = '.' if found else '?\t\t'
16
print(f'{mark} {name}')
17
0 commit comments