我尝试用pythonyoutube上传工具上传一个带有缩略图的视频。视频上传得很好,但是上传后我收到了这样的信息:
Using client secrets: D:\Programs\Python35\share/youtube_upload/client_secrets.json
Using credentials file: C:\Users\Name\.youtube-upload-credentials.json
Using category: Education (id=27)
Start upload: render\video\DCCA.mp4
Video URL: https://www.youtube.com/watch?v=*censored*
[RequestError] Server response: {
"error": {
"errors": [
{
"domain": "youtube.thumbnail",
"reason": "forbidden",
"message": "The authenticated user doesnt have permissions to upload and set custom video thumbnails.",
"locationType": "header",
"location": "Authorization"
}
],
"code": 403,
"message": "The authenticated user doesnt have permissions to upload and set custom video thumbnails."
}
}
现在这很奇怪,因为我的帐户已验证可以上载自定义缩略图:
我甚至测试了手动上传带有缩略图的视频,但它没有任何问题。我也更新了youtube的最新版本,但它就是不起作用。在
有人知道这里发生了什么事吗?在
单击this verify link检查您的帐户是否已验证:
之后,再次尝试运行您的代码。在
好吧,我现在意识到了这个问题,因为当我进行帐户验证时,我登录了一个不同的google帐户。在
相关问题 更多 >
编程相关推荐