【问题标题】:Python youtube-upload - Can't upload thumbnail even though my account is authorisedPython youtube-upload - 即使我的帐户已获得授权,也无法上传缩略图
【发布时间】: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."
 }
}

现在这很奇怪,因为我的帐户已通过验证可以上传自定义缩略图:

Account Features

我什至测试过手动上传带有缩略图的视频,但它可以正常工作。我还将 youtube-upload 更新到了最新版本,但它不起作用。

有人知道这里发生了什么吗?

【问题讨论】:

  • 请包含您的代码。还要确保您已使用正确的频道进行身份验证。

标签: python youtube google-api youtube-api


【解决方案1】:

点击this verify link检查您的帐户是否已通过验证:

"Create custom video thumbnail 如果你的 帐户已验证或您具有实时流媒体访问权限,您可能有 为您的视频上传上传自定义缩略图的能力。”

之后,再次尝试运行您的代码。

【讨论】:

    【解决方案2】:

    好的,我现在已经意识到问题所在,这是因为当我进行帐户验证时,我登录到了另一个 Google 帐户.________。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-20
      • 2023-02-07
      • 2016-10-09
      • 1970-01-01
      • 2011-06-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多