python-3.x - youtube api returns copyright free videos as copyrighted
问题描述
While using the Youtube API, I'm getting wrong results from the licensedContent. This is how I check it:
def videos_list_by_id(client, **kwargs):
response = client.videos().list(
**kwargs
).execute()
return response['items'][0]['contentDetails']['licensedContent']
The problem seems not to be in the code anyways as it does return False for copyrighted videos, but it also does, sometimes, for copyright free ones. I know that because the videos I'm checking are uploaded by myself and I can see if they have any copyright issue.
解决方案
推荐阅读
- set - 我无法将音频文件设置为旧版本设备的铃声。我为新的 android 版本写的部分工作正常
- node.js - 使用 ExpressJS REST API 对 Flutter 客户端进行身份验证
- javascript - 如何用robotjs写波斯字符?
- javascript - Axios 无法访问 Heroku 应用程序 - 错误:网络错误
- c# - ItemsControl 和 DataTemplate 绑定到自身
- c - 实模式下的中断处理程序链接
- dialog - 代号一弹出对话框减少填充
- swift - 在 SwiftUI/Swift 中加载大量静态数据
- authentication - Blazor WebAssembly 第三方身份验证
- typescript - 自动导入不适用于父目录中的相对路径