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

视频发布有文件大小限制吗? #98

Closed
SarcomTDG opened this issue Apr 17, 2024 · 2 comments
Closed

视频发布有文件大小限制吗? #98

SarcomTDG opened this issue Apr 17, 2024 · 2 comments

Comments

@SarcomTDG
Copy link

报错内容
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 867, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 852, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/xhs_uploade/./api/app.py", line 33, in handle_upload_videos
result =upload_videos(cookies, title,videoPathUrl,coverPath,publishDatetimes,tags)
File "/xhs_uploade/api/upload_video_to_xhs_api.py", line 78, in upload_videos
note = xhs_client.create_video_note(
File "/usr/local/lib/python3.10/site-packages/xhs/core.py", line 940, in create_video_note
res = self.upload_file(
File "/usr/local/lib/python3.10/site-packages/xhs/core.py", line 767, in upload_file
raise Exception("video too large, < 5M")

@SarcomTDG
Copy link
Author

上传文件视频就5m

@ReaJason
Copy link
Owner

5M 限制,因为超过 5M 用的分片上传我还没调通(不过有一点时间没调了)

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

2 participants