Skip to content

Commit

Permalink
Merge pull request #75 from pogzyb/release/v1.1.0
Browse files Browse the repository at this point in the history
Release/v1.1.0
  • Loading branch information
pogzyb committed Feb 9, 2024
2 parents e65b443 + 0c4428a commit a58a8c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion asyncwhois/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"GeneralError",
"QueryError",
]
__version__ = "1.0.10"
__version__ = "1.1.0"


def whois(
Expand Down

0 comments on commit a58a8c8

Please sign in to comment.