XiaoXinYo / Live-Barrage

获取哔哩哔哩,抖音,斗鱼,快手的直播弹幕.
MIT License
97 stars 26 forks source link

抖音报错 #7

Closed Coaixy closed 2 years ago

Coaixy commented 2 years ago

@XiaoXinYo 报错信息: Traceback (most recent call last): File "C:\Users\Coaixy\AppData\Local\Programs\Python\Python310\lib\site-packages\websockets\legacy\server.py", line 232, in handler await self.ws_handler(self) File "C:\Users\Coaixy\Desktop\Live_Barrage\TikTok\example\barrage.py", line 19, in run await handle(websocket) File "C:\Users\Coaixy\Desktop\Live_Barrage\TikTok\example\barrage.py", line 14, in handle print('{:10s} | {:10s} | {:10s}'.format(data_count.get('type'), data_count.get('username'), data_count.get('content'))) TypeError: unsupported format string passed to NoneType.format

XiaoXinYo commented 2 years ago

已修复