升级协议版本

This commit is contained in:
John Smith
2019-09-15 18:46:45 +08:00
parent 9eb953720c
commit be92ac5797
2 changed files with 87 additions and 36 deletions

View File

@@ -28,8 +28,8 @@ class MyBLiveClient(blivedm.BLiveClient):
async def main():
# 139是黑桐谷歌的直播间
# 如果SSL验证失败就把第二个参数设为False
client = MyBLiveClient(139, True)
# 如果SSL验证失败就把ssl设为False
client = MyBLiveClient(139, ssl=True)
future = client.start()
try:
# 5秒后停止测试用