Download Youtube Video with C# - Open Source Youtube Video Download Program

in utopian-io •  7 years ago 

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
Screenshot_2.png

We are editing codes.
Screenshot_1.png

Testing
onlytest.gif

Result
onlytest.gif


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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello,

Your contribution cannot be approved because it's not suitable for blog post category. It looks it may fit to development. Since it's impossible to move blog posts to development category this contribution is rejected.

You can try your chance in development category with a new post, however if you do that, here are a couple of advises:

  • Repository doesn't include a README. We expect a README file with instructions of what application does, how can users install and use it.

  • Your project should indicate its license. See licensing a repository.

Thank you.

You can contact us on Discord.
[utopian-moderator]

Şakamısınız ? Kategoriye uygun olmayan nedir ?

Geliştirdiğimiz projeleri "development" kategorisinde paylaşıyoruz. Utopian Kuralları sayfasından hangi katkıların hangi kategorilere ait olması gerektiğıne bakabilirsin.

Bununla beraber, bu uslup ile yazdığın yorumlara yazacağım ilk ve son cevap olacak bu.

--
We share our development contributions on "development category". You can see which contributions fits to which category from the Utopian rules.

Takip ettiğim bir kişide aynı şekilde program (development) paylaşımı yapmış ve kategori olarak ise utopian olarak seçili bunu size gösterebilirim. Onun kategori sıkıntısı olmayıpta bende olan nedir onu anlayamadım ?

Sem blog post kategorisi seçmişsin.

bilmediğim için yapmış olabilirmiyim. bu arada egoist bir insan oldugun belli sitede banlamışsın.

Moderatörlerin ban atma yetkisi yok. Neden banlandığını öğrenirdik insan gibi gelip konuşsaydın. -discordta ana avra küfür etmek yerine.

it was a very useful program. I admire people who have developed themselves in the field of software. I think these people have a lot of thinking and analysis skills. Congratulations.

good!

Congratulations @kerimcancetin! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of posts published
You published 4 posts in one day

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

The @OriginalWorks bot has determined this post by @kerimcancetin to be original material and upvoted it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

Thank u

your post is very good, very useful, your post is so inspiration for me and all users of steemit, I am proud of you .I am amazed to you, you are very fantastic in making a post, hopefully triumph in the work .. Thank you

Congratulations @kerimcancetin! You received a personal award!

1 Year on Steemit

Click here to view your Board of Honor

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @kerimcancetin! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!