SocialSisterYi / bilibili-API-collect

哔哩哔哩-API收集整理【不断更新中....】
https://socialsisteryi.github.io/bilibili-API-collect/
Other
15.37k stars 1.74k forks source link

关于live/message_stream API的几个补充 #360

Open shilusd opened 2 years ago

shilusd commented 2 years ago

大佬好,感谢大佬总结信息!因为要统计收益信息所以这两天用python简单实现了一下,过程中发现几个问题

  1. 现在获取直播间token之后,使用wss://host:port/的方式会出问题,好像现在可以直接使用wss://host/sub GET wss://tx-bj-live-comet-04.chat.bilibili.com/sub
  2. 关于使用了brotli加密的普通包,描述不太准确,实际上解码出来是多个带文件头的普通包拼接在一起,而不是只有一个带文件头的普通包。 [HEAD1][BODY1][HEAD2][BODY2]...
  3. 补充几个用到的数据报文,主要是各种收益中的金额单位不同,有金银瓜子、电池和实际货币

SEND_GIFT 投喂礼物

目前猜测coin_type标识金银瓜子礼物对应是否付费,total为实际金银瓜子总价值,total不是总等于num*price

{
    'cmd': 'SEND_GIFT',
    'data': {
        'action': '投喂',
        'batch_combo_id': 'batch:gift:combo_id:557169208:473244363:31213:1650301831.0855',
        'batch_combo_send': {
            'action': '投喂',
            'batch_combo_id': 'batch:gift:combo_id:557169208:473244363:31213:1650301831.0855',
            'batch_combo_num': 1,
            'blind_gift': None,
            'gift_id': 31213,
            'gift_name': '这个好诶',
            'gift_num': 1,
            'send_master': None,
            'uid': 557169208,
            'uname': '君子兰乙'
        },
        'beatId': '',
        'biz_source': 'Live',
        'blind_gift': None,
        'broadcast_id': 0,
        'coin_type': 'gold',
        'combo_resources_id': 1,
        'combo_send': {
            'action': '投喂',
            'combo_id': 'gift:combo_id:557169208:473244363:31213:1650301831.0848',
            'combo_num': 1,
            'gift_id': 31213,
            'gift_name': '这个好 诶',
            'gift_num': 1,
            'send_master': None,
            'uid': 557169208,
            'uname': '君子兰乙'
        },
        'combo_stay_time': 3,
        'combo_total_coin': 1000,
        'crit_prob': 0,
        'demarcation': 2,
        'discount_price': 1000,
        'dmscore': 8,
        'draw': 0,
        'effect': 0,
        'effect_block': 0,
        'face': 'http://i0.hdslb.com/bfs/face/member/noface.jpg',
        'float_sc_resource_id': 0,
        'giftId': 31213,
        'giftName': '这个好诶',
        'giftType': 0,
        'gold': 0,
        'guard_level': 0,
        'is_first': True,
        'is_special_batch': 0,
        'magnification': 1,
        'medal_info': {
            'anchor_roomid': 0,
            'anchor_uname': '',
            'guard_level': 0,
            'icon_id': 0,
            'is_lighted': 0,
            'medal_color': 0,
            'medal_color_border': 0,
            'medal_color_end': 0,
            'medal_color_start': 0,
            'medal_level': 0,
            'medal_name': '',
            'special': '',
            'target_id': 0
        },
        'name_color': '',
        'num': 1,
        'original_gift_name': '',
        'price': 1000,
        'rcost': 26576202,
        'remain': 0,
        'rnd': '1650301831121800001',
        'send_master': None,
        'silver': 0,
        'super': 0,
        'super_batch_gift_num': 1,
        'super_gift_num': 1,
        'svga_block': 0,
        'tag_image': '',
        'tid': '1650301831121800001',
        'timestamp': 1650301831,
        'top_list': None,
        'total_coin': 1000,
        'uid': 557169208,
        'uname': '君子兰乙'
    }
}

COMBO_SEND 礼物连击

{
    'cmd': 'COMBO_SEND',
    'data': {
        'action': '投喂',
        'batch_combo_id': 'batch:gift:combo_id:3127662:11909915:30607:1651033011.9173',
        'batch_combo_num': 24,
        'combo_id': 'gift:combo_id:3127662:11909915:30607:1651033011.9163',
        'combo_num': 24,
        'combo_total_coin': 0,
        'dmscore': 80,
        'gift_id': 30607,
        'gift_name': '小心心',
        'gift_num': 0,
        'is_show': 1,
        'medal_info': {
            'anchor_roomid': 0,
            'anchor_uname': '',
            'guard_level': 3,
            'icon_id': 0,
            'is_lighted': 1,
            'medal_color': 398668,
            'medal_color_border': 6809855,
            'medal_color_end': 6850801,
            'medal_color_start': 398668,
            'medal_level': 26,
            'medal_name': 'Gin酒',
            'special': '',
            'target_id': 471460273
        },
        'name_color': '',
        'r_uname': '可伊Koi',
        'ruid': 11909915,
        'send_master': None,
        'total_num': 24,
        'uid': 3127662,
        'uname': '-货货'
    }
}

SPECIAL_GIFT 特殊礼物效果

{
    'cmd': 'SPECIAL_GIFT',
    'data': {
        '39': {
            'action': 'start',
            'content': '可爱即正义~~',
            'hadJoin': 0,
            'id': '3306976431489',
            'num': 1,
            'storm_gif': 'http://static.hdslb.com/live-static/live-room/images/gift-section/mobilegift/2/jiezou.gif?2017011901',
            'time': 90
        }
    }
}

SUPER_CHAT_MESSAGE 醒目留言

price为rmb价值

{
    'cmd': 'SUPER_CHAT_MESSAGE',
    'data': {
        'background_bottom_color': '#2A60B2',
        'background_color': '#EDF5FF',
        'background_color_end': '#405D85',
        'background_color_start': '#3171D2',
        'background_icon': '',
        'background_image': 'https://i0.hdslb.com/bfs/live/a712efa5c6ebc67bafbe8352d3e74b820a00c13e.png',
        'background_price_color': '#7497CD',
        'color_point': 0.7,
        'dmscore': 120,
        'end_time': 1650351974,
        'gift': {
            'gift_id': 12000,
            'gift_name': '醒目留言',
            'num': 1
        },
        'id': 3790263,
        'is_ranked': 1,
        'is_send_audit': 0,
        'medal_info': {
            'anchor_roomid': 5050,
            'anchor_uname': 'EdmundDZhang',
            'guard_level': 3,
            'icon_id': 0,
            'is_lighted': 1,
            'medal_color': '#2d0855',
            'medal_color_border': 6809855,
            'medal_color_end': 10329087,
            'medal_color_start': 2951253,
            'medal_level': 29,
            'medal_name': '大母鹅',
            'special': '',
            'target_id': 433351
        },
        'message': 'P5的BGM是真的上头',
        'message_font_color': '#A3F6FF',
        'message_trans': '',
        'price': 30,
        'rate': 1000,
        'start_time': 1650351914,
        'time': 60,
        'token': '94AABC05',
        'trans_mark': 0,
        'ts': 1650351914,
        'uid': 442315303,
        'user_info': {
            'face': 'http://i1.hdslb.com/bfs/face/d372c90f8e9ccca573d47e429a553d4ed5e07f8e.jpg',
            'face_frame': 'https://i0.hdslb.com/bfs/live/80f732943cc3367029df65e267960d56736a82ee.png',
            'guard_level': 3,
            'is_main_vip': 1,
            'is_svip': 0,
            'is_vip': 0,
            'level_color': '#a068f1',
            'manager': 0,
            'name_color': '#00D1F1',
            'title': '0',
            'uname': 'Neilo117',
            'user_level': 35
        }
    },
    'roomid': 5050
}

SUPER_CHAT_MESSAGE_JPN 醒目留言日语

price为rmb价值

{
    'cmd': 'SUPER_CHAT_MESSAGE_JPN',
    'data': {
        'id': '3790747',
        'uid': '394060741',
        'price': 30,
        'rate': 1000,
        'message': '棉花!!转盘中了武器后,上号30抽3武器,救命!!!',
        'message_jpn': '',
        'is_ranked': 1,
        'background_image': 'https://i0.hdslb.com/bfs/live/a712efa5c6ebc67bafbe8352d3e74b820a00c13e.png',
        'background_color': '#EDF5FF',
        'background_icon': '',
        'background_price_color': '#7497CD',
        'background_bottom_color': '#2A60B2',
        'ts': 1650363318,
        'token': '24655ABF',
        'medal_info': {
            'icon_id': 0,
            'target_id': 1871001,
            'special': '',
            'anchor_uname': '棉花大哥哥',
            'anchor_roomid': 103,
            'medal_level': 24,
            'medal_name': '棉花花',
            'medal_color': '#1a544b'
        },
        'user_info': {
            'uname': '改了名真的能中吗',
            'face': 'http://i1.hdslb.com/bfs/face/e2391f132cd981fb70468a8ce9418513e959eb10.jpg',
            'face_frame': 'https://i0.hdslb.com/bfs/live/80f732943cc3367029df65e267960d56736a82ee.png',
            'guard_level': 3,
            'user_level': 11,
            'level_color': '#61c05a',
            'is_vip': 0,
            'is_svip': 0,
            'is_main_vip': 1,
            'title': '0',
            'manager': 0
        },
        'time': 60,
        'start_time': 1650363318,
        'end_time': 1650363378,
        'gift': {
            'num': 1,
            'gift_id': 12000,
            'gift_name': '醒目留言'
        }
    },
    'roomid': '34348'
} 

SUPER_CHAT_MESSAGE_DELETE 醒目留言删除

{
    'cmd': 'SUPER_CHAT_MESSAGE_DELETE',
    'data': {
        'ids': [3897503]
    },
    'roomid': 23708804
}

GUARD_BUY 购买大航海

price为原金瓜子标价,即rmb*1000

{
    'cmd': 'GUARD_BUY',
    'data': {
        'uid': 51553397,
        'username': 'kimikimi1721',
        'guard_level': 3,
        'num': 1,
        'price': 198000,
        'gift_id': 10003,
        'gift_name': '舰长',
        'start_time': 1650363149,
        'end_time': 1650363149
    }
}

USER_TOAST_MSG 用户大航海信息

price为实际金瓜子标价,即rmb*1000

{
    'cmd': 'USER_TOAST_MSG',
    'data': {
        'anchor_show': True,
        'color': '#00D1F1',
        'dmscore': 90,
        'effect_id': 397,
        'end_time': 1650363257,
        'guard_level': 3,
        'is_show': 0,
        'num': 1,
        'op_type': 3,
        'payflow_id': '2204191814095042182780602',
        'price': 138000,
        'role_name': '舰长',
        'start_time': 1650363257,
        'svga_block': 0,
        'target_guard_count': 794,
        'toast_msg': '<%酒蒂威%> 自动续费了舰长',
        'uid': 165298278,
        'unit': '月',
        'user_show': True,
        'username': '酒蒂威'
    }
}

POPULARITY_RED_POCKET_NEW 发送红包

price为电池标价

{
    'cmd': 'POPULARITY_RED_POCKET_NEW',
    'data': {
        'lot_id': 2062329,
        'start_time': 1650425343,
        'current_time': 1650425343,
        'wait_num': 0,
        'uname': '毒瘤老肥仔',
        'uid': 181851309,
        'action': '送出',
        'num': 1,
        'gift_name': '红包',
        'gift_id': 13000,
        'price': 20,
        'name_color': '#00D1F1',
        'medal_info': {
            'target_id': 11909915,
            'special': '',
            'icon_id': 0,
            'anchor_uname': '',
            'anchor_roomid': 0,
            'medal_level': 22,
            'medal_name': '伊克拉',
            'medal_color': 1725515,
            'medal_color_start': 1725515,
            'medal_color_end': 5414290,
            'medal_color_border': 6809855,
            'is_lighted': 1,
            'guard_level': 3
        }
    }
}

POPULARITY_RED_POCKET_START 开始抽取红包

total_price为内含抽取奖品金瓜子总价值,目前红包的20%会直接交给主播,所以20电池(2rmb)对应2000金瓜子的80%是1600金瓜子

{
    'cmd': 'POPULARITY_RED_POCKET_START',
    'data': {
        'lot_id': 2062329,
        'sender_uid': 181851309,
        'sender_name': '毒瘤老肥仔',
        'sender_face': 'http://i0.hdslb.com/bfs/face/fed3871b01976ddd35fd3f772ffc2d4949f1391d.jpg',
        'join_requirement': 1,
        'danmu': '老板大气!点点红包抽礼物!',
        'current_time': 1650425344,
        'start_time': 1650425343,
        'end_time': 1650425523,
        'last_time': 180,
        'remove_time': 1650425538,
        'replace_time': 1650425533,
        'lot_status': 1,
        'h5_url': 'https://live.bilibili.com/p/html/live-app-red-envelope/popularity.html?is_live_half_webview=1&hybrid_half_ui=1,5,100p,100p,000000,0,50,0,0,1;2,5,100p,100p,000000,0,50,0,0,1;3,5,100p,100p,000000,0,50,0,0,1;4,5,100p,100p,000000,0,50,0,0,1;5,5,100p,100p,000000,0,50,0,0,1;6,5,100p,100p,000000,0,50,0,0,1;7,5,100p,100p,000000,0,50,0,0,1;8,5,100p,100p,000000,0,50,0,0,1&hybrid_rotate_d=1&hybrid_biz=popularityRedPacket&lotteryId=2062329',
        'user_status': 2,
        'awards': [{
            'gift_id': 31212,
            'gift_name': '打call',
            'gift_pic': 'https://s1.hdslb.com/bfs/live/f75291a0e267425c41e1ce31b5ffd6bfedc6f0b6.png',
            'num': 2
        }, {
            'gift_id': 31214,
            'gift_name': '牛哇',
            'gift_pic': 'https://s1.hdslb.com/bfs/live/b8a38b4bd3be120becddfb92650786f00dffad48.png',
            'num': 3
        }, {
            'gift_id': 31216,
            'gift_name': 'i了i了',
            'gift_pic': 'https://s1.hdslb.com/bfs/live/1157a445487b39c0b7368d91b22290c60fa665b2.png',
            'num': 3
        }],
        'lot_config_id': 3,
        'total_price': 1600,
        'wait_num': 0
    }
} 

POPULARITY_RED_POCKET_WINNER_LIST 红包中奖列表

 {
    'cmd': 'POPULARITY_RED_POCKET_WINNER_LIST',
    'data': {
        'lot_id': 2062329,
        'total_num': 8,
        'winner_info': [{
            'uid': 181851309,
            'name': '毒瘤老肥仔',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31212,
            'award_name': '打call',
            'award_pic': 'https://s1.hdslb.com/bfs/live/f75291a0e267425c41e1ce31b5ffd6bfedc6f0b6.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/9e6521c57f24c7149c054d265818d4b82059f2ef.png',
            'award_price': 500,
            'bag_id': 1124146,
            'gift_id': 31212,
            'gift_num': 1
        }, {
            'uid': 6791627,
            'name': '宁蛰兮',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31212,
            'award_name': '打call',
            'award_pic': 'https://s1.hdslb.com/bfs/live/f75291a0e267425c41e1ce31b5ffd6bfedc6f0b6.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/9e6521c57f24c7149c054d265818d4b82059f2ef.png',
            'award_price': 500,
            'bag_id': 1122057,
            'gift_id': 31212,
            'gift_num': 1
        }, {
            'uid': 34307003,
            'name': '爱啃咖喱棒的小黑',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31214,
            'award_name': '牛哇',
            'award_pic': 'https://s1.hdslb.com/bfs/live/b8a38b4bd3be120becddfb92650786f00dffad48.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/3b74c117b4f265edcea261bc5608a58d3a7c300a.png',
            'award_price': 100,
            'bag_id': 1133342,
            'gift_id': 31214,
            'gift_num': 1
        }, {
            'uid': 23931549,
            'name': '蒸的很好吃',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31214,
            'award_name': '牛哇',
            'award_pic': 'https://s1.hdslb.com/bfs/live/b8a38b4bd3be120becddfb92650786f00dffad48.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/3b74c117b4f265edcea261bc5608a58d3a7c300a.png',
            'award_price': 100,
            'bag_id': 1124147,
            'gift_id': 31214,
            'gift_num': 1
        }, {
            'uid': 49995458,
            'name': '会呼吸的刀鱼',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31214,
            'award_name': '牛哇',
            'award_pic': 'https://s1.hdslb.com/bfs/live/b8a38b4bd3be120becddfb92650786f00dffad48.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/3b74c117b4f265edcea261bc5608a58d3a7c300a.png',
            'award_price': 100,
            'bag_id': 1131155,
            'gift_id': 31214,
            'gift_num': 1
        }, {
            'uid': 10025853,
            'name': '枫铃绘羽-',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31216,
            'award_name': 'i了i了',
            'award_pic': 'https://s1.hdslb.com/bfs/live/1157a445487b39c0b7368d91b22290c60fa665b2.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/cfb9c3d9bdd2c25c95b7d859ebaa590ca9362adb.png',
            'award_price': 100,
            'bag_id': 1133343,
            'gift_id': 31216,
            'gift_num': 1
        }, {
            'uid': 182050852,
            'name': '划过夜空之痕',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31216,
            'award_name': 'i了i了',
            'award_pic': 'https://s1.hdslb.com/bfs/live/1157a445487b39c0b7368d91b22290c60fa665b2.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/cfb9c3d9bdd2c25c95b7d859ebaa590ca9362adb.png',
            'award_price': 100,
            'bag_id': 1133047,
            'gift_id': 31216,
            'gift_num': 1
        }, {
            'uid': 349759973,
            'name': 'hbdbsusb',
            'user_type': 0,
            'award_type': 1,
            'award_id': 31216,
            'award_name': 'i了i了',
            'award_pic': 'https://s1.hdslb.com/bfs/live/1157a445487b39c0b7368d91b22290c60fa665b2.png',
            'award_big_pic': 'https://i0.hdslb.com/bfs/live/cfb9c3d9bdd2c25c95b7d859ebaa590ca9362adb.png',
            'award_price': 100,
            'bag_id': 1133151,
            'gift_id': 31216,
            'gift_num': 1
        }]
    }
}

4.其他报文

PREPARING 直播终止

{
    'cmd': 'PREPARING',
    'round': 1,
    'roomid': '6032530'
}

LIVE 直播开始

{
    'cmd': 'LIVE',
    'live_key': '234304209915761953',
    'voice_background': '',
    'sub_session_key': '234304209915761953sub_time:1651036923',
    'live_platform': 'pc',
    'live_model': 0,
    'live_time': 1651036923,
    'roomid': 23614753
}

WARNING 直播间警告

{
    'cmd': 'WARNING',
    'msg': '图片内容不适宜,请立即调整',
    'roomid': 22195814
}

CUT_OFF 直播间警告

{
    'cmd': 'CUT_OFF',
    'msg': '违反直播言论规范,请立即调整',
    'roomid': 23993070
}

CHANGE_ROOM_INFO 直播间背景图片修改

{
    'cmd': 'CHANGE_ROOM_INFO',
    'background': 'https://i0.hdslb.com/bfs/live/2388faed3728f3396052273ad4c3c9af21c411fc.jpg',
    'roomid': 23993070
}

ROOM_CHANGE 直播间信息修改

{
    'cmd': 'ROOM_CHANGE',
    'data': {
        'title': '突突突画id喵',
        'area_id': 371,
        'parent_area_id': 9,
        'area_name': '虚拟主播',
        'parent_area_name': '虚拟主播',
        'live_key': '0',
        'sub_session_key': ''
    }
}

ROOM_REAL_TIME_MESSAGE_UPDATE 直播间实时信息更新

{
    'cmd': 'ROOM_REAL_TIME_MESSAGE_UPDATE',
    'data': {
        'roomid': 6032530,
        'fans': 5681,
        'red_notice': -1,
        'fans_club': 115
    }
}

ROOM_SKIN_MSG 直播间皮肤变更

{
    'cmd': 'ROOM_SKIN_MSG',
    'skin_id': 353,
    'status': 1,
    'end_time': 1652620669,
    'current_time': 1652015870,
    'only_local': False,
    'scatter': {
        'min': 1,
        'max': 200
    },
    'skin_config': {
        'android': {
            '1': {
                'zip': 'https://i0.hdslb.com/bfs/live/fab943a5d7eeb871ecf06413283d17536e67ab91.zip',
                'md5': '011EBB3E14192212FD50852245DC74FA'
            }
        },
        'ios': {
            '1': {
                'zip': 'https://i0.hdslb.com/bfs/live/e7d8768dcb3975d82d794fe6b39756317916a7fe.zip',
                'md5': 'B1223577FE9C5C248EC1326CDACF8379'
            }
        },
        'ipad': {
            '1': {
                'zip': 'https://i0.hdslb.com/bfs/live/0856e17be073d75b70098609ae26572ba1534605.zip',
                'md5': '481AE75FFD0E0DE91EAFB5B6E0F8936B'
            }
        },
        'web': {
            '1': {
                'zip': 'https://i0.hdslb.com/bfs/live/0b3770980e600f23629c8445fd211d4a12ec4b6f.zip',
                'md5': '8F98F79F02DEFE8B69EE2F6DE7416DFF',
                'platform': 'web',
                'version': '1',
                'headInfoBgPic': 'https://i0.hdslb.com/bfs/live/d293e69b70af34df0fef086a86552b1761a33a75.jpg',
                'giftControlBgPic': 'https://i0.hdslb.com/bfs/live/1a124c5547c784f41dc3d7f65f446c56c4cbb73e.jpg',
                'rankListBgPic': 'https://i0.hdslb.com/bfs/live/af8580a956d0eac6ea1d2cc97ea743d435a86874.jpg',
                'mainText': '#FFffffff',
                'normalText': '#FFffffff',
                'highlightContent': '#FFffd119',
                'border': '#FFaec2ff',
                'buttonText': '#FF123ab2'
            }
        }
    }
}

WATCHED_CHANGE 当前直播历史观众数量,替代了人气

{
    'cmd': 'WATCHED_CHANGE',
    'data': {
        'num': 337,
        'text_small': '337',
        'text_large': '337人看过'
    }
}

ROOM_SILENT_ON 开启等级禁言

{
    'data': {
        'type': 'member',
        'level': 1,
        'second': 1651000426
    },
    'cmd': 'ROOM_SILENT_ON'
}

ROOM_SILENT_OFF 关闭等级禁言

{
    'data': {
        'type': '',
        'level': 0,
        'second': 0
    },
    'cmd': 'ROOM_SILENT_OFF'
}

ROOM_BLOCK_MSG 指定观众禁言

{
    'cmd': 'ROOM_BLOCK_MSG',
    'data': {
        'dmscore': 30,
        'operator': 2,
        'uid': 37903025,
        'uname': '玉麟珑'
    },
    'uid': '37903025',
    'uname': '玉麟珑'
}

ROOM_ADMINS 房管列表

{
    'cmd': 'ROOM_ADMINS',
    'uids': [898424, 384203692, 1309513, 30816752, 23931549, 223134]
}

room_admin_entrance 设立房管

{
    'cmd': 'room_admin_entrance',
    'dmscore': 45,
    'level': 1,
    'msg': '系统提示:你已被主播设为房管',
    'uid': 223134
}

ROOM_ADMIN_REVOKE 撤销房管

{
    'cmd': 'ROOM_ADMIN_REVOKE',
    'msg': '撤销房管',
    'uid': 6791627
}

ONLINE_RANK_COUNT 高能榜数量

{
    'cmd': 'ONLINE_RANK_COUNT',
    'data': {
        'count': 14
    }
}

ONLINE_RANK_V2 高能榜信息V2

{
    'cmd': 'ONLINE_RANK_V2',
    'data': {
        'list': [{
            'uid': 36765832,
            'face': 'http://i1.hdslb.com/bfs/face/06a07dad46ecb426e26e3340b3ae4e6f308066ea.jpg',
            'score': '1385',
            'uname': '打酱油的小阳',
            'rank': 1,
            'guard_level': 3
        }, {
            'uid': 6791627,
            'face': 'http://i2.hdslb.com/bfs/face/37d619fa3cd64e1b74cb9e75ddc8d1455f73513a.jpg',
            'score': '20',
            'uname': '宁蛰兮',
            'rank': 2,
            'guard_level': 3
        }, {
            'uid': 49995458,
            'face': 'http://i2.hdslb.com/bfs/face/fc7f394ae1221c9bbfc70c5648f065704f7d6092.jpg',
            'score': '10',
            'uname': '会呼吸的刀鱼',
            'rank': 3,
            'guard_level': 0
        }, {
            'uid': 227655120,
            'face': 'http://i0.hdslb.com/bfs/face/02bf147aac9cf96404d365de01a20218c300a66b.jpg',
            'score': '7',
            'uname': '八百标本奔北坡',
            'rank': 4,
            'guard_level': 0
        }, {
            'uid': 174187831,
            'face': 'http://i1.hdslb.com/bfs/face/da536e200b14349c4fca6ca3482beea22f52aa64.jpg',
            'score': '5',
            'uname': '为真理献上',
            'rank': 5,
            'guard_level': 0
        }, {
            'uid': 749199,
            'face': 'http://i0.hdslb.com/bfs/face/5da09d3d361622bd8fb79340e6b24754c43af6c2.jpg',
            'score': '5',
            'uname': '菠蘿鱼',
            'rank': 6,
            'guard_level': 0
        }, {
            'uid': 212312443,
            'face': 'http://i1.hdslb.com/bfs/face/4dfde7efce31b0f37a9074e9ccd5f755c80038e1.jpg',
            'score': '5',
            'uname': '莫斯提马_Mos',
            'rank': 7,
            'guard_level': 0
        }],
        'rank_type': 'gold-rank'
    }
}

ONLINE_RANK_TOP3 高能榜前三改变通知

{
    'cmd': 'ONLINE_RANK_TOP3',
    'data': {
        'dmscore': 112,
        'list': [{
            'msg': '恭喜 <%为真理献上%> 成为高能榜',
            'rank': 3
        }]
    }
}

HOT_RANK_CHANGED 当前直播间限时热门榜排名改变

{
    'cmd': 'HOT_RANK_CHANGED',
    'data': {
        'rank': 31,
        'trend': 1,
        'countdown': 1440,
        'timestamp': 1651037760,
        'web_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=2&area_id=9&parent_area_id=9&second_area_id=0',
        'live_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=1&area_id=9&parent_area_id=9&second_area_id=0&is_live_half_webview=1&hybrid_rotate_d=1&hybrid_half_ui=1,3,100p,70p,f4eefa,0,30,100,12,0;2,2,375,100p,f4eefa,0,30,100,0,0;3,3,100p,70p,f4eefa,0,30,100,12,0;4,2,375,100p,f4eefa,0,30,100,0,0;5,3,100p,70p,f4eefa,0,30,100,0,0;6,3,100p,70p,f4eefa,0,30,100,0,0;7,3,100p,70p,f4eefa,0,30,100,0,0;8,3,100p,70p,f4eefa,0,30,100,0,0',
        'blink_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=3&area_id=9&parent_area_id=9&second_area_id=0&is_live_half_webview=1&hybrid_rotate_d=1&is_cling_player=1&hybrid_half_ui=1,3,100p,70p,f4eefa,0,30,100,0,0;2,2,375,100p,f4eefa,0,30,100,0,0;3,3,100p,70p,f4eefa,0,30,100,0,0;4,2,375,100p,f4eefa,0,30,100,0,0;5,3,100p,70p,f4eefa,0,30,100,0,0;6,3,100p,70p,f4eefa,0,30,100,0,0;7,3,100p,70p,f4eefa,0,30,100,0,0;8,3,100p,70p,f4eefa,0,30,100,0,0',
        'live_link_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=5&area_id=9&parent_area_id=9&second_area_id=0&is_live_half_webview=1&hybrid_rotate_d=1&is_cling_player=1&hybrid_half_ui=1,3,100p,70p,f4eefa,0,30,100,0,0;2,2,375,100p,f4eefa,0,30,100,0,0;3,3,100p,70p,f4eefa,0,30,100,0,0;4,2,375,100p,f4eefa,0,30,100,0,0;5,3,100p,70p,f4eefa,0,30,100,0,0;6,3,100p,70p,f4eefa,0,30,100,0,0;7,3,100p,70p,f4eefa,0,30,100,0,0;8,3,100p,70p,f4eefa,0,30,100,0,0',
        'pc_link_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=4&is_live_half_webview=1&area_id=9&parent_area_id=9&second_area_id=0&pc_ui=338,465,f4eefa,0',
        'icon': 'https://i0.hdslb.com/bfs/live/63217712edb588864b2c714225992e7f46b0b917.png',
        'area_name': '虚拟',
        'rank_desc': ''
    }
}

HOT_RANK_CHANGED_V2 当前直播间限时热门榜排名改变V2

{
    'cmd': 'HOT_RANK_CHANGED_V2',
    'data': {
        'rank': 31,
        'trend': 0,
        'countdown': 1440,
        'timestamp': 1651037760,
        'web_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=2&area_id=9&parent_area_id=9&second_area_id=371',
        'live_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=1&area_id=9&parent_area_id=9&second_area_id=371&is_live_half_webview=1&hybrid_rotate_d=1&hybrid_half_ui=1,3,100p,70p,f4eefa,0,30,100,12,0;2,2,375,100p,f4eefa,0,30,100,0,0;3,3,100p,70p,f4eefa,0,30,100,12,0;4,2,375,100p,f4eefa,0,30,100,0,0;5,3,100p,70p,f4eefa,0,30,100,0,0;6,3,100p,70p,f4eefa,0,30,100,0,0;7,3,100p,70p,f4eefa,0,30,100,0,0;8,3,100p,70p,f4eefa,0,30,100,0,0',
        'blink_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=3&area_id=9&parent_area_id=9&second_area_id=371&is_live_half_webview=1&hybrid_rotate_d=1&is_cling_player=1&hybrid_half_ui=1,3,100p,70p,f4eefa,0,30,100,0,0;2,2,375,100p,f4eefa,0,30,100,0,0;3,3,100p,70p,f4eefa,0,30,100,0,0;4,2,375,100p,f4eefa,0,30,100,0,0;5,3,100p,70p,f4eefa,0,30,100,0,0;6,3,100p,70p,f4eefa,0,30,100,0,0;7,3,100p,70p,f4eefa,0,30,100,0,0;8,3,100p,70p,f4eefa,0,30,100,0,0',
        'live_link_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=5&area_id=9&parent_area_id=9&second_area_id=371&is_live_half_webview=1&hybrid_rotate_d=1&is_cling_player=1&hybrid_half_ui=1,3,100p,70p,f4eefa,0,30,100,0,0;2,2,375,100p,f4eefa,0,30,100,0,0;3,3,100p,70p,f4eefa,0,30,100,0,0;4,2,375,100p,f4eefa,0,30,100,0,0;5,3,100p,70p,f4eefa,0,30,100,0,0;6,3,100p,70p,f4eefa,0,30,100,0,0;7,3,100p,70p,f4eefa,0,30,100,0,0;8,3,100p,70p,f4eefa,0,30,100,0,0',
        'pc_link_url': 'https://live.bilibili.com/p/html/live-app-hotrank/index.html?clientType=4&is_live_half_webview=1&area_id=9&parent_area_id=9&second_area_id=371&pc_ui=338,465,f4eefa,0',
        'icon': 'https://i0.hdslb.com/bfs/live/cb2e160ac4f562b347bb5ae6e635688ebc69580f.png',
        'area_name': '虚拟主播',
        'rank_desc': '虚拟主播top50'
    }
}

HOT_RANK_SETTLEMENT 限时热门榜上榜信息

{
    'cmd': 'HOT_RANK_SETTLEMENT',
    'data': {
        'area_name': '虚拟主播',
        'cache_key': '2f8baf923a6b7df5a045df6c7181984c',
        'dm_msg': '恭喜主播 <% 白黑卡扣 %> 荣登限时热门榜虚拟主播榜top9! 即将获得热门流量推荐哦!',
        'dmscore': 144,
        'face': 'http://i0.hdslb.com/bfs/face/ddfcd696213e07884ce227c6ba6d23a007a08c02.jpg',
        'icon': 'https://i0.hdslb.com/bfs/live/63217712edb588864b2c714225992e7f46b0b917.png',
        'rank': 9,
        'timestamp': 1651041000,
        'uname': '白黑卡扣',
        'url': 'https://live.bilibili.com/p/html/live-app-hotrank/result.html?is_live_half_webview=1&hybrid_half_ui=1,5,250,200,f4eefa,0,30,0,0,0;2,5,250,200,f4eefa,0,30,0,0,0;3,5,250,200,f4eefa,0,30,0,0,0;4,5,250,200,f4eefa,0,30,0,0,0;5,5,250,200,f4eefa,0,30,0,0,0;6,5,250,200,f4eefa,0,30,0,0,0;7,5,250,200,f4eefa,0,30,0,0,0;8,5,250,200,f4eefa,0,30,0,0,0&areaId=9&cache_key=2f8baf923a6b7df5a045df6c7181984c'
    }
}

HOT_RANK_SETTLEMENT_V2 限时热门榜上榜信息V2

{
    'cmd': 'HOT_RANK_SETTLEMENT_V2',
    'data': {
        'rank': 9,
        'uname': '白黑卡扣',
        'face': 'http://i0.hdslb.com/bfs/face/ddfcd696213e07884ce227c6ba6d23a007a08c02.jpg',
        'timestamp': 1651040700,
        'icon': 'https://i0.hdslb.com/bfs/live/cb2e160ac4f562b347bb5ae6e635688ebc69580f.png',
        'area_name': '虚拟主播',
        'url': 'https://live.bilibili.com/p/html/live-app-hotrank/result.html?is_live_half_webview=1&hybrid_half_ui=1,5,250,200,f4eefa,0,30,0,0,0;2,5,250,200,f4eefa,0,30,0,0,0;3,5,250,200,f4eefa,0,30,0,0,0;4,5,250,200,f4eefa,0,30,0,0,0;5,5,250,200,f4eefa,0,30,0,0,0;6,5,250,200,f4eefa,0,30,0,0,0;7,5,250,200,f4eefa,0,30,0,0,0;8,5,250,200,f4eefa,0,30,0,0,0&areaId=371&cache_key=693b7b029b66976a399cf4e3485d265a',
        'cache_key': '693b7b029b66976a399cf4e3485d265a',
        'dm_msg': '恭喜主播 <% 白黑卡扣 %> 荣登限时热门榜虚拟主播榜top9! 即将获得热门流量推荐哦!'
    }
}

WIDGET_BANNER 当前活动任务信息

{
    'cmd': 'WIDGET_BANNER',
    'data': {
        'timestamp': 1651033513,
        'widget_list': {
            '153': {
                'id': 153,
                'title': '春日限时红包任务',
                'cover': '',
                'web_cover': '',
                'tip_text': '限时红包任务',
                'tip_text_color': '#F9F8F8',
                'tip_bottom_color': '#F95E5E',
                'jump_url': 'https://live.bilibili.com/activity/live-activity-battle/index.html?app_name=april_red_envelope&is_live_half_webview=1&hybrid_rotate_d=1&hybrid_half_ui=1,3,100p,70p,0,0,0,0,12,0;2,2,375,100p,0,0,0,0,12,0;3,3,100p,70p,0,0,0,0,12,0;4,2,375,100p,0,0,0,0,12,0;5,3,100p,70p,0,0,0,0,12,0;6,3,100p,70p,0,0,0,0,12,0;7,3,100p,70p,0,0,0,0,12,0;8,3,100p,70p,0,0,0,0,12,0&room_id=6032530&uid=11909915#/april_red_envelope',
                'url': '',
                'stay_time': 5,
                'site': 1,
                'platform_in': ['live', 'blink', 'live_link', 'web', 'pc_link'],
                'type': 1,
                'band_id': 100356,
                'sub_key': '',
                'sub_data': '%7B%22task_status%22%3A0%2C%22current_val%22%3A0%2C%22target_val%22%3A2600%2C%22time_out%22%3A1%2C%22reward_price%22%3A3%7D',
                'is_add': True
            }
        }
    }
}

WIDGET_WISH_LIST 礼物心愿单进度

{
    'cmd': 'WIDGET_WISH_LIST',
    'data': {
        'wish': [{
            'type': 3,
            'gift_id': 10003,
            'gift_name': '舰长',
            'gift_img': 'https://i0.hdslb.com/bfs/live/f1be2a2d5b227ce72641de1ad64bcc7f9e4111c3.png',
            'gift_price': 198000,
            'target_num': 5,
            'current_num': 0
        }, {
            'type': 2,
            'gift_id': 3,
            'gift_name': 'B坷垃',
            'gift_img': 'https://s1.hdslb.com/bfs/live/cc8bfcbc24c8b65937f62ce0d16b31ab987dce47.png',
            'gift_price': 9900,
            'target_num': 5,
            'current_num': 0
        }, {
            'type': 2,
            'gift_id': 31039,
            'gift_name': '牛哇牛哇',
            'gift_img': 'https://s1.hdslb.com/bfs/live/b8a38b4bd3be120becddfb92650786f00dffad48.png',
            'gift_price': 100,
            'target_num': 10,
            'current_num': 0
        }],
        'wish_status': 1,
        'sid': 477,
        'wish_status_info': [{
            'wish_status_msg': '设定心 愿',
            'wish_status_img': 'https://i0.hdslb.com/bfs/live/38f82bac32794e79776f7371269453652bd58a87.png',
            'wish_status': 0
        }, {
            'wish_status_msg': '达成',
            'wish_status_img': 'https://i0.hdslb.com/bfs/live/1dae635924437239fc69e561a1a9467508521249.png',
            'wish_status': 2
        }, {
            'wish_status_msg': '收集失败',
            'wish_status_img': 'https://i0.hdslb.com/bfs/live/3bbd30fdd32d085cc90e9ccd98c65a886dca9a8f.png',
            'wish_status': 3
        }],
        'wish_name': '心愿'
    }
}

ANCHOR_LOT_CHECKSTATUS 天选时刻合法检查

{
    'cmd': 'ANCHOR_LOT_CHECKSTATUS',
    'data': {
        'id': 2553641,
        'reject_reason': '由于奖品格式不合格,请仔细检查后再提交哦',
        'status': 5,
        'uid': 1827176970
    }
}

ANCHOR_LOT_START 天选时刻开始

{
    'cmd': 'ANCHOR_LOT_START',
    'data': {
        'asset_icon': 'https://i0.hdslb.com/bfs/live/627ee2d9e71c682810e7dc4400d5ae2713442c02.png',
        'award_image': '',
        'award_name': '艺术头像绘制',
        'award_num': 1,
        'cur_gift_num': 0,
        'current_time': 1651037946,
        'danmu': '卡宝下午好',
        'gift_id': 3,
        'gift_name': 'B坷垃',
        'gift_num': 1,
        'gift_price': 9900,
        'goaway_time': 180,
        'goods_id': 15,
        'id': 2553648,
        'is_broadcast': 1,
        'join_type': 1,
        'lot_status': 0,
        'max_time': 600,
        'require_text': '当前主播粉丝勋章至少1级',
        'require_type': 2,
        'require_value': 1,
        'room_id': 23614753,
        'send_gift_ensure': 0,
        'show_panel': 1,
        'start_dont_popup': 0,
        'status': 1,
        'time': 599,
        'url': 'https://live.bilibili.com/p/html/live-lottery/anchor-join.html?is_live_half_webview=1&hybrid_biz=live-lottery-anchor&hybrid_half_ui=1,5,100p,100p,000000,0,30,0,0,1;2,5,100p,100p,000000,0,30,0,0,1;3,5,100p,100p,000000,0,30,0,0,1;4,5,100p,100p,000000,0,30,0,0,1;5,5,100p,100p,000000,0,30,0,0,1;6,5,100p,100p,000000,0,30,0,0,1;7,5,100p,100p,000000,0,30,0,0,1;8,5,100p,100p,000000,0,30,0,0,1',
        'web_url': 'https://live.bilibili.com/p/html/live-lottery/anchor-join.html'
    }
}

ANCHOR_LOT_END 天选时刻结束

{
    'cmd': 'ANCHOR_LOT_END',
    'data': {
        'id': 2553648
    }
}

ANCHOR_LOT_AWARD 天选时刻中奖者

{
    'cmd': 'ANCHOR_LOT_AWARD',
    'data': {
        'award_dont_popup': 1,
        'award_image': '',
        'award_name': '艺术头像绘制',
        'award_num': 1,
        'award_users': [{
            'uid': 8318700,
            'uname': '桥下念喬',
            'face': 'http://i0.hdslb.com/bfs/face/dfde2ffc6286c2c5189592cc84fd70bcf977b143.jpg',
            'level': 21,
            'color': 5805790
        }],
        'id': 2553648,
        'lot_status': 2,
        'url': 'https://live.bilibili.com/p/html/live-lottery/anchor-join.html?is_live_half_webview=1&hybrid_biz=live-lottery-anchor&hybrid_half_ui=1,5,100p,100p,000000,0,30,0,0,1;2,5,100p,100p,000000,0,30,0,0,1;3,5,100p,100p,000000,0,30,0,0,1;4,5,100p,100p,000000,0,30,0,0,1;5,5,100p,100p,000000,0,30,0,0,1;6,5,100p,100p,000000,0,30,0,0,1;7,5,100p,100p,000000,0,30,0,0,1;8,5,100p,100p,000000,0,30,0,0,1',
        'web_url': 'https://live.bilibili.com/p/html/live-lottery/anchor-join.html'
    }
}

STOP_LIVE_ROOM_LIST 直播停止列表,估计是更新关注的主播直播状态的

{
    'cmd': 'STOP_LIVE_ROOM_LIST',
    'data': {
        'room_id_list': [14507570, 23963084, 24370437, 24380902, 24889494, 22735090, 24268758, 24668544, 38325, 24762357, 3222966, 6684395, 24199566, 24864470, 10224194, 14953052, 6198131, 898214, 10412034, 22506883, 23932516, 6768714, 24392281, 1799500, 22392518, 22976729, 21557043, 24896092, 11718936, 21612704, 21778117, 24145539, 23178318, 23575414, 24842462, 22245210, 24895499, 3133873, 1298898, 22175308, 3600684, 2053035, 270652, 24877480, 3854611, 21512488, 24393104, 24756457, 4630683, 6955412, 23199465, 2880481, 23868339, 717791, 24068307, 24875243, 22777819, 24896061, 24619665]
    }
}

VIDEO_CONNECTION_JOIN_START 邀请视频连线

{
    'cmd': 'VIDEO_CONNECTION_JOIN_START',
    'data': {
        'status': 1,
        'invited_uid': 351686170,
        'channel_id': '72057594038132685',
        'invited_uname': '小妹睡不醒',
        'invited_face': 'http://i1.hdslb.com/bfs/face/828562203e620f711fb4c786f05996357857ed4d.jpg',
        'start_at': 1651237440,
        'current_time': 1651237440
    },
    'roomid': 12401854
}

VIDEO_CONNECTION_MSG 视频连线信息

{
    'cmd': 'VIDEO_CONNECTION_MSG',
    'data': {
        'channel_id': '72057594038132685',
        'current_time': 1651237440,
        'dmscore': 4,
        'toast': '主播发起了视频连线'
    }
}

VIDEO_CONNECTION_JOIN_END 结束视频连线

{
    'cmd': 'VIDEO_CONNECTION_JOIN_END',
    'data': {
        'channel_id': '72057594038132685',
        'start_at': 1651238384,
        'toast': '主播 结束了与小妹睡不醒的连线.',
        'current_time': 1651238384
    },
    'roomid': 22195814
}

ENTRY_EFFECT 进场特效

{
    'cmd': 'ENTRY_EFFECT',
    'data': {
        'id': 4,
        'uid': 595578,
        'target_id': 11909915,
        'mock_effect': 0,
        'face': 'https://i0.hdslb.com/bfs/face/9d3009e086f938248a8439c951abdb171f05b01e.jpg',
        'privilege_type': 3,
        'copy_writing': '欢迎舰长 <%南音颯%> 进入直播间',
        'copy_color': '#ffffff',
        'highlight_color': '#E6FF00',
        'priority': 1,
        'basemap_url': 'https://i0.hdslb.com/bfs/live/mlive/11a6e8eb061c3e715d0a6a2ac0ddea2faa15c15e.png',
        'show_avatar': 1,
        'effective_time': 2,
        'web_basemap_url': 'https://i0.hdslb.com/bfs/live/mlive/11a6e8eb061c3e715d0a6a2ac0ddea2faa15c15e.png',
        'web_effective_time': 2,
        'web_effect_close': 0,
        'web_close_time': 0,
        'business': 1,
        'copy_writing_v2': '欢迎舰长 <%南音颯%> 进入直播间',
        'icon_list': [],
        'max_delay_time': 7,
        'trigger_time': 1651034917405395594,
        'identities': 6,
        'effect_silent_time': 300
    }
}

FULL_SCREEN_SPECIAL_EFFECT 全屏特效

{
    'cmd': 'FULL_SCREEN_SPECIAL_EFFECT',
    'data': {
        'type': 2,
        'ids': [514],
        'queue': 2,
        'platform_in': [1, 2]
    }
}

REENTER_LIVE_ROOM 重连直播间?

{
    'cmd': 'REENTER_LIVE_ROOM',
    'data': {
        'room_id': 22195814,
        'request_random_sec_range': 10,
        'reason': 1
    },
    'roomid': 22195814
}

NOTICE_MSG 广播抽条信息

{
    'cmd': 'NOTICE_MSG',
    'id': 2,
    'name': '分区道具抽奖广播样式',
    'full': {
        'head_icon': 'http://i0.hdslb.com/bfs/live/00f26756182b2e9d06c00af23001bc8e10da67d0.webp',
        'tail_icon': 'http://i0.hdslb.com/bfs/live/822da481fdaba986d738db5d8fd469ffa95a8fa1.webp',
        'head_icon_fa': 'http://i0.hdslb.com/bfs/live/77983005023dc3f31cd599b637c83a764c842f87.png',
        'tail_icon_fa': 'http://i0.hdslb.com/bfs/live/38cb2a9f1209b16c0f15162b0b553e3b28d9f16f.png',
        'head_icon_fan': 36,
        'tail_icon_fan': 4,
        'background': '#6098FFFF',
        'color': '#FFFFFFFF',
        'highlight': '#FDFF2FFF',
        'time': 20
    },
    'half': {
        'head_icon': 'http://i0.hdslb.com/bfs/live/358cc52e974b315e83eee429858de4fee97a1ef5.png',
        'tail_icon': '',
        'background': '#7BB6F2FF',
        'color': '#FFFFFFFF',
        'highlight': '#FDFF2FFF',
        'time': 15
    },
    'side': {
        'head_icon': '',
        'background': '',
        'color': '',
        'highlight': '',
        'border': ''
    },
    'roomid': 21710273,
    'real_roomid': 21710273,
    'msg_common': '<%Fallrain雨天%>投喂:<%日向葵Channel%>1个鸿运小电视,点击前往TA的房间吧!',
    'msg_self': '<%Fallrain雨天%>投喂:<%日向葵Channel%>1个鸿运小电视,快来围观吧!',
    'link_url': 'https://live.bilibili.com/21710273?accept_quality=%5B10000%2C150%5D&broadcast_type=0&current_qn=150&current_quality=150&is_room_feed=1&live_play_network=other&p2p_type=0&playurl_h264=http%3A%2F%2Fd1--cn-gotcha03.bilivideo.com%2Flive-bvc%2F435322%2Flive_94363275_28880876_1500.flv%3Fexpires%3D1651036396%26len%3D0%26oi%3D0%26pt%3D%26qn%3D150%26trid%3D10004f9bfe85ea33494594555e1d85aa4c1a%26sigparams%3Dcdn%2Cexpires%2Clen%2Coi%2Cpt%2Cqn%2Ctrid%26cdn%3Dcn-gotcha03%26sign%3D9ecdfe9b32cad1e9f55ce12d4d1bc857%26sk%3D2935686d6cb9146c7a6a6a0b4e120e2594e074fa0760377f1a7a2b2fa0ee6443%26p2p_type%3D0%26src%3D57349%26sl%3D1%26flowtype%3D1%26source%3Dbatch%26order%3D1%26machinezone%3Dylf%26pp%3Dsrt%26site%3Db92e444d901cb5e66831130f74b07a2a&playurl_h265=&quality_description=%5B%7B%22qn%22%3A10000%2C%22desc%22%3A%22%E5%8E%9F%E7%94%BB%22%7D%2C%7B%22qn%22%3A150%2C%22desc%22%3A%22%E9%AB%98%E6%B8%85%22%7D%5D&from=28003&extra_jump_from=28003&live_lottery_type=1',
    'msg_type': 2,
    'shield_uid': -1,
    'business_id': '31115',
    'scatter': {
        'min': 0,
        'max': 0
    },
    'marquee_id': '',
    'notice_type': 0
}

COMMON_NOTICE_DANMAKU 广播通知弹幕信息

{
    'cmd': 'COMMON_NOTICE_DANMAKU',
    'data': {
        'content_segments': [{
            'font_color': '#FB7299',
            'text': '春日限时任务:任务即将结束,抓紧完成获取3元红包奖励吧!未完成任务进度将重置',
            'type': 1
        }],
        'dmscore': 144,
        'terminals': [1, 2, 3, 4, 5]
    }
}

SYS_MSG 系统信息

{
    'cmd': 'SYS_MSG',
    'msg': '争夺开启,时间周五20点至周日20点,逾期不候哟!',
    'url': ''
}
  1. 还有一些抓到但是没用到的信息,目前没有报文,只能进行一些猜测,可能会逐步移动到4

主播PK?

PK_BATTLE_END
PK_BATTLE_ENTRANCE
PK_BATTLE_FINAL_PROCESS
PK_BATTLE_MATCH_TIMEOUT
PK_BATTLE_PRE
PK_BATTLE_PRE_NEW
PK_BATTLE_PROCESS
PK_BATTLE_PROCESS_NEW
PK_BATTLE_SETTLE
PK_BATTLE_SETTLE_NEW
PK_BATTLE_SETTLE_USER
PK_BATTLE_SETTLE_V2
PK_BATTLE_START
PK_BATTLE_START_NEW
PK_BATTLE_VIDEO_PUNISH_BEGIN
PK_BATTLE_VIDEO_PUNISH_END

高能榜

ONLINE_RANK

系统提示信息?

HOT_ROOM_NOTIFY 热门直播间提示?
GUARD_ACHIEVEMENT_ROOM 舰队成就达成通知?

购物,感觉是广告?

GOTO_BUY_FLOW xx购买了xx信息
SHOPPING_CART_SHOW 是否开启界面
HOT_BUY_NUM 购买量
SHOPPING_EXPLAIN_CARD 具体商品信息

其他

TRADING_SCORE
why0209 commented 1 year ago

大佬能帮抓下开通守护圣法师的信息嘛,抱拳了!

yandujun363 commented 3 months ago

ENTRY_EFFECT事件中的data.trigger_time对象其实是纳秒级的时间戳