With this program you can use youtube download feature.
Especially for those who use YouTube video downloading a lot.
This can change the project as desired.
You can download the file you want on Youtube
Github Link : https://github.com/kerimcancetin/YoutubeVideoDownloader
Only Exe: Download
Design Work
We are editing codes.
Testing
Result
Code list used in the project:
cboResolution.SelectedIndex = 0;
progressBar.Minimum = 0;
progressBar.Maximum = 100;
IEnumerable< VideoInfo> videos = DownloadUrlResolver.GetDownloadUrls(txtUrl.Text);
VideoInfo video = videos.First(p => p.VideoType == VideoType.Mp4 && p.Resolution == Convert.ToInt32(cboResolution.Text));
if (video.RequiresDecryption)
DownloadUrlResolver.DecryptDownloadUrl(video);
VideoDownloader downloader = new VideoDownloader(video, Path.Combine(Application.StartupPath + "\", video.Title + video.VideoExtension));
downloader.DownloadProgressChanged += Downloader_DownloadProgressChanged;
Thread thread = new Thread(() => { downloader.Execute(); }) { IsBackground = true };
thread.Start();
Invoke(new MethodInvoker(delegate ()
{
progressBar.Value = (int)e.ProgressPercentage;
lblPercentage.Text = $"{string.Format("{0:0.##}", e.ProgressPercentage)}%";
progressBar.Update();
}));
You can use this easy to develop application for Steemit.
Comment if you want to have additional features for the program.
Posted on Utopian.io - Rewarding Open Source Contributors
Posted on Utopian.io - Rewarding Open Source Contributors