aiowebsocket
aiowebsocket copied to clipboard
Async WebSocket Client. Advantage: Flexible Lighter and Faster
证书一直提示出错
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1091) 证书的问题一直解决不了,查了资料都是https协议的
```py async def startup(uri): async with AioWebSocket(uri=uri) as aws: converse = aws.manipulator jsonTxt = { 'id': 1, 'jsonrpc': '2.0', 'method': "subscribe", 'params': { 'channel': "pools" } } msg = json.dumps(jsonTxt)...
mac 测试这个包的时候 出现 ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833) ,求指教
添加了README.md代码块的语言,在GH显示的时候会有代码高亮。
我想实现异步协程爬取,因为网站限制链接数 所以没有办法只能用代理来实现高并发 请问添加代理的功能作者能添加进去吗?谢谢啦!
当数据长度比较长时,数据只能获取前面一部分,这个有哪里需要设置吗 class Converse: """Responsible for communication between client and server """ def __init__(self, reader: object, writer: object, maxsize: int = 2**16): self.reader = reader self.writer = writer self.message_queue = Queue(maxsize=maxsize)...
错误信息:每当出现下面这条消息后, `2019-11-12 10:17:21-Client receive: b'\x03\xebping check expired, session: 5f9d157d-15ec-4b6a-b30d-681daaa06dd7'` 就会抛出错误 ``` Traceback (most recent call last): File "/usr/local/Caskroom/miniconda/base/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3326, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 26, in...
可以加代理的吗?
可以加代理的吗?
如, await converse.send(message),用 websocket-client 库的发送是, x = [8, 1, 26, 7, 8, 184, 232, 190, 199, 220, 44] ws.send(x, websocket.ABNF.OPCODE_BINARY) 那么aiowebsocket 要怎么实现??