Program for download video from Youtube.
Hello! I saw many applications which can download video from m.youtube.com or youtube.com, but I don't know how to do it and I need do it. Video from m.youtube.com has link with protocol "rtsp" and I don't know how to use it. I try this code:
But this code has returned the exception about using RTSP protocol. How can I use RTSP protocol for download video? Or how can I download video from youtube another mean? Thank you, anyway.
u = new URL("rtsp://");
HttpURLConnection c = (HttpURLConnection) u.openConnection();