Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pogzyb committed Nov 7, 2024
1 parent 4899649 commit e7fb9a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ pprint(parsed_dict)
...
"""

# set `find_authoritative_server=False` to only query the TLD's whois server as specified in the IANA root db.
# this will generally speed up execution times, but responses may not include complete information.
query_string, parsed_dict = asyncwhois.whois("google.com", find_authoritative_server=False)

# support for IPv4, IPv6, and ASNs too
ipv4 = "8.8.8.8"
query_string, parsed_dict = asyncwhois.whois(ipv4)
Expand Down

0 comments on commit e7fb9a0

Please sign in to comment.