1
0
mirror of https://github.com/wbt5/real-url.git synced 2025-08-01 14:48:01 +08:00

更新映客弹幕

This commit is contained in:
wbt5 2020-07-17 16:25:04 +08:00
parent afcd4d3be8
commit 0235aa6f77

View File

@ -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):