Hello! Perhaps this question was asked here, but I did not find it (Google also refuses, too). The bottom line is this: how to get a link to download videos from YouTube? There are so many services that download videos, but no one gives an API. Thank you all in advance for the answer!

  • YouTube has, like, api - YuriySPb
  • The API is there, but there is definitely no download link) - Dmitriy Nail
  • @ YuriySPb show where there is a link -_- - Flerry

2 answers 2

See how it is done in java youtube video downloader (ytd2) , for example.

  • Wow, thanks. Here, the juice :) - Flerry

To download a video, in my opinion, there is no API (this goes against their Terms of Service ) - so, for example, youtube-dl first downloads a web page, and then pulls out a link from there. Alternatively, you can study its algorithm and transfer it to Java.

  • Thank you I will watch. About api, I meant third-party sites. But no, everyone is greedy :) - Flerry