如何使用 youtube 的 API 下载 youtube 视频?

如何使用 youtube 的 API 下载 youtube 视频?

问题描述:

我查看了 python 的 API 概述:开发人员指南: Python

I looked at the python's API overview: Developer's Guide: Python

但是没有关于如何下载视频的参考.有谁知道我可以从哪里获得有关下载的信息?

But there is no reference to how to download a video. Does anyone know where can I get information regarding downloading?

下载 Youtube 视频违反了他们的服务条款,所以他们的 API 将不支持.

Downloading Youtube videos is against their Terms of Service, so their API's will not support that.

上面链接的页面是指 Youtube ToS 指出:

Page linked above refers to Youtube ToS that states:

您不得下载任何内容,除非您在服务上看到 YouTube 为该内容显示的下载"或类似链接.

You shall not download any Content unless you see a "download" or similar link displayed by YouTube on the Service for that Content.