diff --git a/danmu/danmaku/inke.py b/danmu/danmaku/inke.py index 12ac7bf..a2bf787 100644 --- a/danmu/danmaku/inke.py +++ b/danmu/danmaku/inke.py @@ -5,6 +5,7 @@ import json class Inke: + heartbeat = None @staticmethod async def get_ws_info(url): @@ -16,7 +17,7 @@ class Inke: async with session.get(cr) as resp: res = await resp.text() wss_url = json.loads(res).get('url') - return wss_url + return wss_url, None @staticmethod def decode_msg(data):