Dawnnnnnn / bilibili-live-tools

python实现的bilibili直播助手
MIT License
796 stars 173 forks source link

获取roomid报错 #334

Closed CberYellowstone closed 4 years ago

CberYellowstone commented 4 years ago

dVjGCj.png 目前三个号里面有两个都是这样 频率:一直卡在这里...(也就是经常) 三个号都是用的31b1f0a版 没出这个问题的号关注的主播只有两个 而另外两个出事的号关注的主播都较多

希望能看看

附上出事当时的json_response之一 {'code': 0, 'msg': '', 'message': '', 'data': {'medalCount': 20, 'count': 6, 'fansMedalList': [{'uid': 361113073, 'target_id': 8618005, 'medal_id': 117448, 'score': 25746, 'level': 12, 'intimacy': 845, 'status': 0, 'source': 2, 'receive_channel': 2, 'is_receive': 1, 'master_status': 1, 'receive_time': '2019-08-03 11:11:39', 'today_intimacy': 0, 'last_wear_time': 1595245986, 'is_lighted': 0, 'medal_level': 12, 'next_intimacy': 10000, 'day_limit': 1500, 'medal_name': '凉呆皮', 'master_available': 1, 'guard_type': 0, 'lpl_status': 0, 'can_delete': False, 'target_name': '睡梦被蹦迪的凉哈皮', 'target_face': 'https://i2.hdslb.com/bfs/face/dab1412eafd66883280a4efbd2647703dd7f6e7d.jpg', 'live_stream_status': 0, 'icon_code': 0, 'icon_text': '', 'rank': '>10万', 'medal_color': 10512625, 'medal_color_start': 12632256, 'medal_color_end': 12632256, 'guard_level': 0, 'medal_color_border': 12632256, 'today_feed': 0, 'todayFeed': 0, 'dayLimit': 1500, 'uname': '睡梦被蹦迪的凉哈皮', 'color': 10512625, 'medalName': '凉呆皮', 'guard_medal_title': '未开启加成', 'anchorInfo': {'uid': 8618005, 'uname': '睡梦被蹦 迪的凉哈皮', 'gender': 1, 'face': 'https://i2.hdslb.com/bfs/face/dab1412eafd66883280a4efbd2647703dd7f6e7d.jpg', 'silence': 0, 'masterVip': 2, 'masterRank': 10000, 'masterLevel': 6, 'masterHeadpic': '', 'masterVerify': 0, 'mobileVerified': 1, 'identification': 1, 'official': {'role': 1, 'title': 'bilibili 知名游戏UP主', 'desc': '第一届“bilibili新星计划”获奖者'}, 'rank': 10000, 'platform_user_level': 6, 'vip_type': 2, 'mobile_verify': 0, 'official_verify': {'role': 1, 'title': 'bilibili 知名游戏UP主', 'desc': '第一届“bilibili新星计划”获奖者', 'type': -1}}, 'roomid': 6136246}, {'uid': 361113073, 'target_id': 4966861, 'medal_id': 137587, 'score': 43394, 'level': 13, 'intimacy': 8493, 'status': 0, 'source': 2, 'receive_channel': 2, 'is_receive': 1, 'master_status': 1, 'receive_time': '2020-01-12 10:10:34', 'today_intimacy': 0, 'last_wear_time': 1597059737, 'is_lighted': 0, 'medal_level': 13, 'next_intimacy': 10000, 'day_limit': 1500, 'medal_name': '小太陽', 'master_available': 1, 'guard_type': 0, 'lpl_status': 0, 'can_delete': False, 'target_name': '晨陽_SAMA', 'target_face': 'https://i1.hdslb.com/bfs/face/60e81d8bb764f518499bd00e3520328ce6060394.jpg', 'live_stream_status': 0, 'icon_code': 0, 'icon_text': '', 'rank': '>10万', 'medal_color': 16746162, 'medal_color_start': 12632256, 'medal_color_end': 12632256, 'guard_level': 0, 'medal_color_border': 12632256, 'today_feed': 0, 'todayFeed': 0, 'dayLimit': 1500, 'uname': '晨陽_SAMA', 'color': 16746162, 'medalName': '小太陽', 'guard_medal_title': '未开启加成', 'anchorInfo': {'uid': 4966861, 'uname': '晨陽_SAMA', 'gender': 1, 'face': 'https://i1.hdslb.com/bfs/face/60e81d8bb764f518499bd00e3520328ce6060394.jpg', 'silence': 0, 'masterVip': 2, 'masterRank': 10000, 'masterLevel': 6, 'masterHeadpic': 'https://i1.hdslb.com/bfs/face/a959c72407b2ac553d4328fd76d55d0134e20f65.png', 'masterVerify': -1, 'mobileVerified': 1, 'identification': 1, 'official': {'role': 0, 'title': '', 'desc': ''}, 'rank': 10000, 'platform_user_level': 6, 'vip_type': 2, 'mobile_verify': 0, 'official_verify': {'role': 0, 'title': '', 'desc': '', 'type': -1}}, 'roomid': 3144570}, {'uid': 361113073, 'target_id': 362123499, 'medal_id': 139752, 'score': 82912, 'level': 15, 'intimacy': 23011, 'status': 0, 'source': 2, 'receive_channel': 2, 'is_receive': 1, 'master_status': 1, 'receive_time': '2019-08-10 15:08:12', 'today_intimacy': 0, 'last_wear_time': 1595245050, 'is_lighted': 0, 'medal_level': 15, 'next_intimacy': 40000, 'day_limit': 1500, 'medal_name': '杨妹', 'master_available': 1, 'guard_type': 0, 'lpl_status': 0, 'can_delete': False, 'target_name': '虎牙丶杨某人', 'target_face': 'https://i0.hdslb.com/bfs/face/67d684c97b5c29f7a3e3ddc662e6a47223e366e7.jpg', 'live_stream_status': 0, 'icon_code': 0, 'icon_text': '', 'rank': '>10万', 'medal_color': 16746162, 'medal_color_start': 12632256, 'medal_color_end': 12632256, 'guard_level': 0, 'medal_color_border': 12632256, 'today_feed': 0, 'todayFeed': 0, 'dayLimit': 1500, 'uname': '虎牙丶杨某人', 'color': 16746162, 'medalName': '杨妹', 'guard_medal_title': '未开启加成', 'anchorInfo': {'uid': 362123499, 'uname': '虎牙丶杨某人', 'gender': -1, 'face': 'https://i0.hdslb.com/bfs/face/67d684c97b5c29f7a3e3ddc662e6a47223e366e7.jpg', 'silence': 0, 'masterVip': 0, 'masterRank': 10000, 'masterLevel': 6, 'masterHeadpic': '', 'masterVerify': -1, 'mobileVerified': 1, 'identification': 1, 'official': {'role': 0, 'title': '', 'desc': ''}, 'rank': 10000, 'platform_user_level': 6, 'vip_type': 0, 'mobile_verify': 0, 'official_verify': {'role': 0, 'title': '', 'desc': '', 'type': -1}}}, {'uid': 361113073, 'target_id': 21031602, 'medal_id': 142186, 'score': 82093, 'level': 15, 'intimacy': 22192, 'status': 0, 'source': 1, 'receive_channel': 1, 'is_receive': 1, 'master_status': 1, 'receive_time': '2020-02-29 12:05:06', 'today_intimacy': 0, 'last_wear_time': 1596537262, 'is_lighted': 0, 'medal_level': 15, 'next_intimacy': 40000, 'day_limit': 1500, 'medal_name': '渣男攻', 'master_available': 1, 'guard_type': 0, 'lpl_status': 0, 'can_delete': False, 'target_name': '怪怪今年想上岸', 'target_face': 'https://i2.hdslb.com/bfs/face/3b1c51aad201f8d507e0d6612f7f10a90d3ceb26.jpg', 'live_stream_status': 0, 'icon_code': 0, 'icon_text': '', 'rank': '>10万', 'medal_color': 16746162, 'medal_color_start': 12632256, 'medal_color_end': 12632256, 'guard_level': 0, 'medal_color_border': 12632256, 'today_feed': 0, 'todayFeed': 0, 'dayLimit': 1500, 'uname': '怪怪今年想上岸', 'color': 16746162, 'medalName': '渣男攻', 'guard_medal_title': '未开启加成', 'anchorInfo': {'uid': 21031602, 'uname': '怪怪今年想上岸', 'gender': 1, 'face': 'https://i2.hdslb.com/bfs/face/3b1c51aad201f8d507e0d6612f7f10a90d3ceb26.jpg', 'silence': 0, 'masterVip': 0, 'masterRank': 10000, 'masterLevel': 5, 'masterHeadpic': 'https://i0.hdslb.com/bfs/garb/item/393eab6140d1e849ab4cd2c1bd0f75afe809f1f5.png', 'masterVerify': -1, 'mobileVerified': 1, 'identification': 1, 'official': {'role': 0, 'title': '', 'desc': ''}, 'rank': 10000, 'platform_user_level': 5, 'vip_type': 0, 'mobile_verify': 0, 'official_verify': {'role': 0, 'title': '', 'desc': '', 'type': -1}}, 'roomid': 4412900}, {'uid': 361113073, 'target_id': 85595340, 'medal_id': 279648, 'score': 4440, 'level': 7, 'intimacy': 239, 'status': 1, 'source': 1, 'receive_channel': 1, 'is_receive': 1, 'master_status': 1, 'receive_time': '2020-06-13 11:25:10', 'today_intimacy': 0, 'last_wear_time': 1597674653, 'is_lighted': 1, 'medal_level': 7, 'next_intimacy': 1600, 'day_limit': 1500, 'medal_name': '小久儿', 'master_available': 1, 'guard_type': 0, 'lpl_status': 0, 'can_delete': False, 'target_name': '这是有小久久咯', 'target_face': 'https://i0.hdslb.com/bfs/face/a85fc4aea24fa84b60f5164e070a688cb2d218ef.jpg', 'live_stream_status': 0, 'icon_code': 0, 'icon_text': '', 'rank': 15, 'medal_color': 5805790, 'medal_color_start': 5805790, 'medal_color_end': 5805790, 'guard_level': 0, 'medal_color_border': 5805790, 'today_feed': 0, 'todayFeed': 0, 'dayLimit': 1500, 'uname': '这是有小久久咯', 'color': 5805790, 'medalName': '小久儿', 'guard_medal_title': '未开启加成', 'anchorInfo': {'uid': 85595340, 'uname': '这是有小久久咯', 'gender': 1, 'face': 'https://i0.hdslb.com/bfs/face/a85fc4aea24fa84b60f5164e070a688cb2d218ef.jpg', 'silence': 0, 'masterVip': 1, 'masterRank': 10000, 'masterLevel': 5, 'masterHeadpic': '', 'masterVerify': -1, 'mobileVerified': 1, 'identification': 1, 'official': {'role': 0, 'title': '', 'desc': ''}, 'rank': 10000, 'platform_user_level': 5, 'vip_type': 1, 'mobile_verify': 0, 'official_verify': {'role': 0, 'title': '', 'desc': '', 'type': -1}}, 'roomid': 3360807}, {'uid': 361113073, 'target_id': 436768963, 'medal_id': 287724, 'score': 15850, 'level': 11, 'intimacy': 949, 'status': 0, 'source': 2, 'receive_channel': 2, 'is_receive': 1, 'master_status': 1, 'receive_time': '2020-07-05 00:38:20', 'today_intimacy': 0, 'last_wear_time': 1596382284, 'is_lighted': 0, 'medal_level': 11, 'next_intimacy': 10000, 'day_limit': 1500, 'medal_name': '狗十二', 'master_available': 1, 'guard_type': 0, 'lpl_status': 0, 'can_delete': False, 'target_name': '十二岁诶丶', 'target_face': 'https://i2.hdslb.com/bfs/face/f2c7fd25acc4d7ac40618ef197278997a06c103c.jpg', 'live_stream_status': 0, 'icon_code': 0, 'icon_text': '', 'rank': '>10万', 'medal_color': 10512625, 'medal_color_start': 12632256, 'medal_color_end': 12632256, 'guard_level': 0, 'medal_color_border': 12632256, 'today_feed': 0, 'todayFeed': 0, 'dayLimit': 1500, 'uname': '十二岁诶丶', 'color': 10512625, 'medalName': '狗十二', 'guard_medal_title': '未开启加成', 'anchorInfo': {'uid': 436768963, 'uname': '十二岁诶丶', 'gender': 0, 'face': 'https://i2.hdslb.com/bfs/face/f2c7fd25acc4d7ac40618ef197278997a06c103c.jpg', 'silence': 0, 'masterVip': 0, 'masterRank': 10000, 'masterLevel': 5, 'masterHeadpic': '', 'masterVerify': -1, 'mobileVerified': 1, 'identification': 1, 'official': {'role': 0, 'title': '', 'desc': ''}, 'rank': 10000, 'platform_user_level': 5, 'vip_type': 0, 'mobile_verify': 0, 'official_verify': {'role': 0, 'title': '', 'desc': '', 'type': -1}}, 'roomid': 22296683}], 'name': '这里手动屏蔽', 'pageinfo': {'totalpages': 1, 'curPage': 1}}}