Skip to content

Commit

Permalink
Fix README typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pogzyb committed Feb 9, 2024
1 parent 7cf5969 commit 0c4428a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ domain = 'https://www.google.com?q=asyncwhois'
# basic example
query_string, parsed_dict = asyncwhois.whois(domain)
# query_string # The semi-free text output from the whois server
# parsed_dict # A dictionary of key:values extracted from query_output
# parsed_dict # A dictionary of key:values extracted from `query_string`

# asyncio example
loop = asyncio.get_event_loop()
Expand Down Expand Up @@ -120,7 +120,7 @@ from httpx_socks import SyncProxyTransport, AsyncProxyTransport # EXTERNAL DEPE

transport = SyncProxyTransport.from_url(f"socks5://{tor_host}:{tor_port}")
httpx_client = httpx.Client(transport=transport)
whodap_client = whodap.IPv6Client(httpx_client=httpx_client)
whodap_client = whodap.IPv6Client.new_client(httpx_client=httpx_client)
query_string, parsed_dict = asyncwhois.rdap('2001:4860:4860::8888', whodap_client=whodap_client)

transport = AsyncProxyTransport.from_url(f"socks5://{tor_user}:{tor_pw}@{tor_host}:{tor_port}")
Expand Down

0 comments on commit 0c4428a

Please sign in to comment.