You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from websocket import create_connection
from erlpack import pack
from erlpack import unpack
ws = create_connection("wss://gateway.discord.gg/?encoding=json&v=9&compress=zlib-stream")
response = ws.recv()
response
b'x\x9c4\xc9A\n\xc20\x10\x05\xd0\xbb\xfcu"\xa9(\xc8\\xa5)elG\r\xa4i\x99\x8e\x8a\x84\xdc]7\xee\x1e\xbc\n\x03\x95g\xce\x0e\xfb\x1f\xeb\x06\xea\x82\xc3\x0c\xaax\x08\xab]\x85mL\xc5D_\x9cA\xa7\xeex\xfe\xfdh\xca\x93\x80z\xf4\x11w6y\xf3\xc7o:\xfb\x85S\xf1v)\xb7\x08W#\x964\xe9\xbaGP8\x846`h\xed\x0b\x00\x00\xff\xff'
unpack(response)
Traceback (most recent call last):
File "", line 1, in
File "py/erlpack/_unpacker.pyx", line 29, in erlpack._unpacker.ErlangTermDecoder.loads
erlpack._unpacker.ErlangTermDecodeError: Bad version number. Expected 131 found 120
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: