使用python API将视频上传到Youtube并将其设置为不公开
I'm using the python client library to upload videos to youtube.
I need to the set it's privacy as unlisted, but the API page only shows examples of how to set them as private.
Anyone knows how to change the privacy control of these videos?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://code 中描述了您所需的 XML 元素。 google.com/apis/youtube/2.0/reference.html#youtube_data_api_tag_yt:accessControl
按照 API 文档,您可以按如下方式构建此元素:
The XML element that you need is described in http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_api_tag_yt:accessControl
Following the API documentation, you can build this element as follows: