mirror of
https://github.com/wbt5/real-url.git
synced 2025-08-01 14:48:01 +08:00
更新映客弹幕
This commit is contained in:
parent
afcd4d3be8
commit
0235aa6f77
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user