Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
update test whl
Browse files Browse the repository at this point in the history
  • Loading branch information
maarten-boot committed Nov 2, 2023
1 parent 557a013 commit 9457074
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions testwhl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import whois

domain = "google.com"
d = whois.query(domain, verbose=True)
print(d.__dict__)
for tld in whois.validTlds():
hint = whois.getTestHint(tld)
if hint:
print(f"# == {hint}")
d = whois.query(hint, verbose=True)
for k,v in d.__dict__.items():
print(f"\t{k}\t{v}")
print("")

0 comments on commit 9457074

Please sign in to comment.