![]() ![]() So here is my video url which i am trying to download : " "Īfter install the "libvideo" on NuGet package manager console in visual studio.Īnd download ffmpeg for merge audio and video for best output. StreamWriter writer = new StreamWriter(Server.MapPath("~/youtube/" + objYouTube.VideoID + ".mp4"), true) StreamReader readStream = new StreamReader(receiveStream, encode) Stream receiveStream = myHttpWebResponse.GetResponseStream() Įncoding encode = ("utf-8") HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse() HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(RealURL) WebResponse MyResponse = MyRequest.GetResponse() WebRequest MyRequest = HttpWebRequest.Create(VedioUrl) var VedioUrl = "" + objYouTube.VideoID + ".mp4" ![]() ![]() I have tried one link but that code just getting null video in my local folder so any one have the idea how can do that.īelow is the code i have tried so far. I want to download the you tube video in my local folder with c# code. I have searched many link but din't get any proper links and code. I am trying to download you tube video using c# code but i am not getting proper code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |