We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0876cd commit 116b1f1Copy full SHA for 116b1f1
tibiapy/client.py
@@ -47,7 +47,7 @@ async def _initialize_session(self, proxy_url=None):
47
'User-Agent': "Tibia.py/%s (+https://github.com/Galarzaa90/tibia.py" % tibiapy.__version__,
48
'Accept-Encoding': "deflate, gzip"
49
}
50
- connector = aiohttp_socks.SocksConnector.from_url('socks5://127.0.0.1:7744') if proxy_url else None
+ connector = aiohttp_socks.SocksConnector.from_url(proxy_url) if proxy_url else None
51
self.session = aiohttp.ClientSession(loop=self.loop, headers=headers,
52
connector=connector) # type: aiohttp.ClientSession
53
0 commit comments