Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

疑似web接口新版弹幕消息 #46

Open
xfgryujk opened this issue Dec 6, 2023 · 1 comment
Open

疑似web接口新版弹幕消息 #46

xfgryujk opened this issue Dec 6, 2023 · 1 comment

Comments

@xfgryujk
Copy link
Owner

xfgryujk commented Dec 6, 2023

最近有一些不兼容的弹幕消息报错,暂时没空研究,先记一下

{'cmd': 'DANMU_MSG:3:7:1:1:1:1', 'info': [
[0, 7, 100, 16777215, 1701789809186, 0, 0, 'f4dbdf21', 0, None, None, None, 0, '{}', '{}', {'mode': 0, 'show_player_type': 0, 'extra': '{"mode":0,"send_from_me":false,"color":16777215,"dm_type":0,"font_size":100,"player_mode":7,"content":"[1.0,0.0,\\"0.8-0.5\\",10.0,\\"辛苦了\\",0.0,0.0,0.0,0.0,10000,0,true,\\"黑体\\",1]"}'}, None, None],
'[1.0,0.0,"0.8-0.5",10.0,"辛苦了",0.0,0.0,0.0,0.0,10000,0,true,"黑体",1]', [0, '***', 1, 0, 0, 10000, 1, ''], None, [], [], 0, 0, None, {'ts': 1701789809, 'ct': '8DB3B1FF'}, 0, 0, None, None, 0, 0, [0]
], 'dm_v2': ''}

{'cmd': 'DANMU_MSG:3:7:1:1:1:1', 'info': [
[0, 7, 100, 16777215, 1701789899411, 0, 0, 'f4dbdf21', 0, None, None, None, 0, '{}', '{}', {'mode': 0, 'show_player_type': 0, 'extra': '{"mode":0,"send_from_me":false,"color":16777215,"dm_type":0,"font_size":100,"player_mode":7,"content":"[1.0,0.0,\\"0.8-0.5\\",10.0,\\"晚安\\",0.0,0.0,0.0,0.0,10000,0,true,\\"黑体\\",1]"}'}, None, None],
'[1.0,0.0,"0.8-0.5",10.0,"晚安",0.0,0.0,0.0,0.0,10000,0,true,"黑体",1]', [0, '***', 1, 0, 0, 10000, 1, ''], None, [], [], 0, 0, None, {'ts': 1701789899, 'ct': '8045F9DF'}, 0, 0, None, None, 0, 0, [0]
], 'dm_v2': ''}

{'cmd': 'DANMU_MSG:3:7:1:1:1:1', 'info': [
[0, 7, 100, 16777215, 1701866650320, 0, 0, 'f4dbdf21', 0, None, None, None, 0, '{}', '{}', {'mode': 0, 'show_player_type': 0, 'extra': '{"mode":0,"send_from_me":false,"color":16777215,"dm_type":0,"font_size":100,"player_mode":7,"content":"[1.0,0.0,\\"0.8-0.5\\",10.0,\\"了不起\\",0.0,0.0,0.0,0.0,10000,0,true,\\"黑体\\",1]"}'}, None, None],
'[1.0,0.0,"0.8-0.5",10.0,"了不起",0.0,0.0,0.0,0.0,10000,0,true,"黑体",1]', [0, '***', 1, 0, 0, 10000, 1, ''], None, [], [], 0, 0, None, {'ts': 1701866650, 'ct': '6AA2F39E'}, 0, 0, None, None, 0, 0, [0]
], 'dm_v2': ''}
@xfgryujk
Copy link
Owner Author

试了一下B站前端也没处理好这种消息,遇到时会报错,而且原因和我的一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant