如何使用YouTubedataapi获取与会员有关的信息

发布于 2025-01-27 17:37:54 字数 99 浏览 1 评论 0原文

我想使用YouTube API来确定视频是否仅是会员资格。 我试图使用YouTubeapi的视频,频道,播放列表等查找实际的视频信息,但似乎并不包含与会员有关的任何信息。 有好主意吗?

I want to use the Youtube API to determine if a video is membership-only or not.
I tried to find out the actual video information using YoutubeAPI's videos, channels, playlists, etc., but it doesn't seem to contain any information related to membership.
Is there any good idea?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

删除会话 2025-02-03 17:37:54

One more time YouTube Data API v3 doesn't provide a basic feature.

I would suggest you to use my open-source YouTube operational API, indeed by requesting https://yt.lemnoslife.com/videos?part=isMemberOnly&id=VIDEO_ID you would get a JSON with the boolean value interesting you in item['isMemberOnly'].

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文