mirror of
https://github.com/wbt5/real-url.git
synced 2025-06-17 08:25:25 +08:00
修复变量名错误
This commit is contained in:
parent
7e4acb527e
commit
a183f53730
@ -249,7 +249,7 @@ class CC:
|
||||
s = CC_Init()
|
||||
|
||||
heartbeatInterval = 30
|
||||
heartbeats = s.get_beat()
|
||||
heartbeat = s.get_beat()
|
||||
|
||||
@staticmethod
|
||||
async def get_ws_info(url):
|
||||
|
@ -5,7 +5,7 @@ import re
|
||||
|
||||
|
||||
class eGame:
|
||||
heartbeats = b'\x00\x00\x00\x12\x00\x12\x00\x01\x00\x07\x00\x00\x00\x01\x00\x00\x00\x00'
|
||||
heartbeat = b'\x00\x00\x00\x12\x00\x12\x00\x01\x00\x07\x00\x00\x00\x01\x00\x00\x00\x00'
|
||||
heartbeatInterval = 60
|
||||
|
||||
@staticmethod
|
||||
@ -35,7 +35,7 @@ class eGame:
|
||||
headerbuf = struct.pack('!ihhhihh', 18 + len(bodybuf), 18, 1, 1, 0, 0, 0)
|
||||
data = headerbuf + bodybuf
|
||||
reg_datas.append(data)
|
||||
reg_datas.append(eGame.heartbeats)
|
||||
reg_datas.append(eGame.heartbeat)
|
||||
|
||||
return 'wss://barragepush.egame.qq.com/sub', reg_datas
|
||||
|
||||
|
@ -9,7 +9,7 @@ import time
|
||||
|
||||
class HuaJiao:
|
||||
|
||||
heartbeats = b'\x00\x00\x00\x00'
|
||||
heartbeat = b'\x00\x00\x00\x00'
|
||||
ws_url = 'wss://bridge.huajiao.com'
|
||||
|
||||
def __init__(self, rid=None):
|
||||
|
@ -8,7 +8,7 @@ import re
|
||||
|
||||
|
||||
class KuaiShou:
|
||||
heartbeats = b'\x08\x01\x1A\x07\x08' # 发送心跳可固定
|
||||
heartbeat = b'\x08\x01\x1A\x07\x08' # 发送心跳可固定
|
||||
heartbeatInterval = 20
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user