Nemo2011 / bilibili-api

哔哩哔哩常用API调用。支持视频、番剧、用户、频道、音频等功能。原仓库地址:https://github.com/MoyuScript/bilibili-api
https://nemo2011.github.io/bilibili-api/
GNU General Public License v3.0
2.19k stars 210 forks source link

挂载到服务器执行 上传视频 一直 CHUNK_FAILED 一直在重试 也不提示超时 #725

Open smilemilk1992 opened 7 months ago

smilemilk1992 commented 7 months ago

挂载到服务器执行 上传视频 一直 CHUNK_FAILED 一直在重试 也不提示超时!但 在自己本地电脑 可以上传成功, ,,请问这个问题怎么解决呢

z0z0r4 commented 7 months ago

服务器的ip是境外的?

smilemilk1992 commented 7 months ago

买的 阿里云 国内的

z0z0r4 commented 7 months ago

基本上我复现不出来...没环境我也不知道咋修

或者你可以自行调试下看看 CHUNK_FAILED 这个请求的返回值是什么,settings.request_log 没覆盖到这个...

当然如果你不介意的话我也可以去你的环境调试

{'name': 'PREUPLOAD', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}
{'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}
{'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'AFTER_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'PRE_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}       
{'name': 'AFTER_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}     
{'name': 'AFTER_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}
{'name': 'PRE_COVER', 'data': (None,)}
[Request][2024-03-23 21:13:37,152] 激活 buvid3 成功
{'name': 'AFTER_COVER', 'data': ({'url': 'https://archive.biliimg.com/bfs/archive/8a3ceb3fc61a0cebd34909d6da6abd5c00a4ff53.png'},)}{'name': 'FAILED', 'data': ({'err': AttributeError("'NoneType' object has no attribute '__dict__'")},)}
{'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}
{'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'AFTER_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'PRE_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}        
{'name': 'AFTER_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}      
{'name': 'AFTER_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}
{'name': 'PRE_COVER', 'data': (None,)}
[Request][2024-03-23 21:18:56,454] 激活 buvid3 成功
{'name': 'AFTER_COVER', 'data': ({'url': 'https://archive.biliimg.com/bfs/archive/8a3ceb3fc61a0cebd34909d6da6abd5c00a4ff53.png'},)}
{'name': 'PRE_SUBMIT', 'data': ({'title': '2024-03-23 20:00:00 测试视频', 'copyright': 1, 'tid': 130, 'tag': '编程', 'topic_detail': {'from_topic_id': None, 'from_source': 'arc.web.recommend'}, 'desc_format_id': 9999, 'desc': '测试', 'recreate': -1, 'interactive': 0, 'act_reserve_create': 0, 'no_disturbance': 0, 'adorder_type': 9, 'no_reprint': 1, 'subtitle': {'open': 0, 'lan': ''}, 'dolby': 0, 'lossless_music': 0, 'up_selection_reply': False, 'up_close_reply': False, 'up_close_danmu': False, 'web_os': 1, 'cover': 'https://archive.biliimg.com/bfs/archive/8a3ceb3fc61a0cebd34909d6da6abd5c00a4ff53.png', 'videos': [{'title': '标题', 'desc': '简介', 'filename': 'n240323qn13i47lmpprlrauto42h1tq1', 'cid': 1479711308}]},)}
{'name': 'AFTER_SUBMIT', 'data': ({'aid': 1952046091, 'bvid': 'BV19C411b7Q1'},)}
{'name': 'COMPLETE', 'data': ({'aid': 1952046091, 'bvid': 'BV19C411b7Q1'},)}
smilemilk1992 commented 7 months ago

基本上我复现不出来...没环境我也不知道咋修

或者你可以自行调试下看看 CHUNK_FAILED 这个请求的返回值是什么,settings.request_log 没覆盖到这个...

~当然如果你不介意的话我也可以去你的环境调试~

{'name': 'PREUPLOAD', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}
{'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}
{'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'AFTER_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'PRE_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}       
{'name': 'AFTER_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}     
{'name': 'AFTER_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B02930>},)}
{'name': 'PRE_COVER', 'data': (None,)}
[Request][2024-03-23 21:13:37,152] 激活 buvid3 成功
{'name': 'AFTER_COVER', 'data': ({'url': 'https://archive.biliimg.com/bfs/archive/8a3ceb3fc61a0cebd34909d6da6abd5c00a4ff53.png'},)}{'name': 'FAILED', 'data': ({'err': AttributeError("'NoneType' object has no attribute '__dict__'")},)}
{'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}
{'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'AFTER_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}
{'name': 'PRE_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}        
{'name': 'AFTER_PAGE_SUBMIT', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}      
{'name': 'AFTER_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000000007B05730>},)}
{'name': 'PRE_COVER', 'data': (None,)}
[Request][2024-03-23 21:18:56,454] 激活 buvid3 成功
{'name': 'AFTER_COVER', 'data': ({'url': 'https://archive.biliimg.com/bfs/archive/8a3ceb3fc61a0cebd34909d6da6abd5c00a4ff53.png'},)}
{'name': 'PRE_SUBMIT', 'data': ({'title': '2024-03-23 20:00:00 测试视频', 'copyright': 1, 'tid': 130, 'tag': '编程', 'topic_detail': {'from_topic_id': None, 'from_source': 'arc.web.recommend'}, 'desc_format_id': 9999, 'desc': '测试', 'recreate': -1, 'interactive': 0, 'act_reserve_create': 0, 'no_disturbance': 0, 'adorder_type': 9, 'no_reprint': 1, 'subtitle': {'open': 0, 'lan': ''}, 'dolby': 0, 'lossless_music': 0, 'up_selection_reply': False, 'up_close_reply': False, 'up_close_danmu': False, 'web_os': 1, 'cover': 'https://archive.biliimg.com/bfs/archive/8a3ceb3fc61a0cebd34909d6da6abd5c00a4ff53.png', 'videos': [{'title': '标题', 'desc': '简介', 'filename': 'n240323qn13i47lmpprlrauto42h1tq1', 'cid': 1479711308}]},)}
{'name': 'AFTER_SUBMIT', 'data': ({'aid': 1952046091, 'bvid': 'BV19C411b7Q1'},)}
{'name': 'COMPLETE', 'data': ({'aid': 1952046091, 'bvid': 'BV19C411b7Q1'},)}

加个vx 呢 进一步沟通 ,

smilemilk1992 commented 7 months ago

image

z0z0r4 commented 7 months ago

QQ 3531890582 discord z0z0r4 804716497694883881 我不怎么用微信

不过实际上过半小时我就要返校了,也整不了啥

z0z0r4 commented 7 months ago

神秘 bug,环境问题,炸在 await session.put,本地无法复现,束手无策🌚

可参考的操作是重装 Python。 wtf the bug,remote debug 一下午效率成果为 0

chi1st commented 7 months ago

同样出现这个问题,确认代理IP是能用的,且用正常的本地IP上传视频也没问题

{'name': 'PREUPLOAD', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}

chi1st commented 7 months ago

同样出现这个问题,确认代理IP是能用的,且用正常的本地IP上传视频也没问题

{'name': 'PREUPLOAD', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}

同样出现这个问题,确认代理IP是能用的,且用正常的本地IP上传视频也没问题

{'name': 'PREUPLOAD', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}

我将包版本退回为15.5.1,代理功能正常了

z0z0r4 commented 6 months ago

同样出现这个问题,确认代理IP是能用的,且用正常的本地IP上传视频也没问题 {'name': 'PREUPLOAD', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}

同样出现这个问题,确认代理IP是能用的,且用正常的本地IP上传视频也没问题 {'name': 'PREUPLOAD', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_PAGE', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)} {'name': 'CHUNK_FAILED', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1, 'info': ''},)} {'name': 'PRE_CHUNK', 'data': ({'page': <bilibili_api.video_uploader.VideoUploaderPage object at 0x0000025304A02850>, 'offset': 0, 'chunk_number': 0, 'total_chunk_count': 1},)}

我将包版本退回为15.5.1,代理功能正常了

有人验证下的吗?

liaozd commented 6 months ago

我遇到过类似的,好像和网络环境有关系,同样的代码换个网络运营商就好了。