Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download a youtube video using the youtube's API?

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?

like image 769
speller Avatar asked Nov 10 '11 15:11

speller


People also ask

Can you download video from YouTube API?

YouTube Video Downloader API enables users to convert Video into MP4, MP3, M4A formats using one endpoint. Get various video qualities such as 144p, 360p, and 720p. Using this API you can download videos with or without audio.

How do I get a YouTube video title from the YouTube API?

In order to make a request to the API, you can use jQuery's getJSON() call to request the title from YouTube via AJAX. YouTube's v3 Data API provides 3 endpoints that can be used to get the title: Snippet Title - The video's title.

Can I access YouTube API?

After creating your project, make sure the YouTube Data API is one of the services that your application is registered to use: Go to the API Console and select the project that you just registered. Visit the Enabled APIs page. In the list of APIs, make sure the status is ON for the YouTube Data API v3.


1 Answers

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

Page linked above refers to Youtube ToS that states:

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

like image 168
Lycha Avatar answered Sep 22 '22 00:09

Lycha