YouTube数据API搜索,排除带广告的视频
我想知道当我查询视频 api 时是否有办法排除那些有广告的人。
另外,我想过滤掉我所在位置不可用的视频,这些视频可能会根据用户而改变。
I was wondering if there is a way when I am quering the api for videos to exclude those who have advertisments.
Also I would like to filter out the videos that are not available for my location which might change according to the user.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无法过滤掉已获利的视频。
限制参数可用于过滤掉因地理位置原因而无法播放的视频限制,基于可播放客户端的 IP 地址。
There is no way to filter out videos that are monetized.
The restriction parameter can be used to filter out videos that are not playable due to geographic restrictions, based on the IP address of the client that will be playable.