如何通过Youtube API V3获得视频RTSP链接? [英] How to get video RTSP link with Youtube API V3?

查看:232
本文介绍了如何通过Youtube API V3获得视频RTSP链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我过去常常使用V2,但API V3中的替代方案是什么?
如果没有,是否有任何黑客攻击?例如。猜猜网址?

I used to get it normally with V2 but what's the alternative in API V3 ? if not available, is there any hack to do it ? eg. guess the URL ?

注意:V2现在已弃用,所以我不能依赖它。

Note : V2 is Deprecated now, so i can't depend on it .

推荐答案

是的,这是v3 API 的巨大优势之一。此API的其他好处

Yes, this is another of the great advantages of v3 API. Other benefits from this API:


  • 不再有多个屏幕截图可供选择

  • 不再有视频时长;
    必须在第二次查询中请求

  • 以ISO 8601格式加密的视频时长,以确保无法将其转换为秒

缺乏RTSP值只是另一个。我敢打赌,在API v4中他们可能也会隐藏视频标题,以确保API完全没用。

The lack of RTSP value is just another one. I bet that in API v4 they'll probably hide the video title as well, to ensure the API is entirely useless.

这篇关于如何通过Youtube API V3获得视频RTSP链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆