【发布时间】:2017-06-15 11:52:23
【问题描述】:
我正在尝试使用 python youtube-upload 工具上传带有缩略图的视频。视频上传很好,但上传后我收到这条消息:
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-upload 更新到了最新版本,但它不起作用。
有人知道这里发生了什么吗?
【问题讨论】:
-
请包含您的代码。还要确保您已使用正确的频道进行身份验证。
标签: python youtube google-api youtube-api