Skip to content

Commit a58a8c8

Browse files
authored
Merge pull request #75 from pogzyb/release/v1.1.0
Release/v1.1.0
2 parents e65b443 + 0c4428a commit a58a8c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ domain = 'https://www.google.com?q=asyncwhois'
2323
# basic example
2424
query_string, parsed_dict = asyncwhois.whois(domain)
2525
# query_string # The semi-free text output from the whois server
26-
# parsed_dict # A dictionary of key:values extracted from query_output
26+
# parsed_dict # A dictionary of key:values extracted from `query_string`
2727

2828
# asyncio example
2929
loop = asyncio.get_event_loop()
@@ -120,7 +120,7 @@ from httpx_socks import SyncProxyTransport, AsyncProxyTransport # EXTERNAL DEPE
120120

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

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

Diff for: asyncwhois/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"GeneralError",
4343
"QueryError",
4444
]
45-
__version__ = "1.0.10"
45+
__version__ = "1.1.0"
4646

4747

4848
def whois(

0 commit comments

Comments
 (0)