[Source] Youtube Download [VB.net] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [Source] Youtube Download [VB.net] (/showthread.php?tid=13607) |
[Source] Youtube Download [VB.net] - KoBE - 11-09-2010 I posted this on HF. Thought I'd share over here. This is my take on a Youtube Downloader. Instead of downloading the file automatically I have it generate the links in a webbrowser so the user can right-click save-target-as. Credits go to: xSilent - helped me learn mulithreading/use of delegates. Thanks. TraptCode - original post similar to mine. used .Replace commands(commented in source). Thanks Mr. Predictable - idea to use Camtasia Studio to produce gif came from him. now the code. You will need the following
Here is the code. Code: Public Class Form1 I didnt use Try-catch because I meant for this to be more informative for downloading youtube vids rather than releasing it. I plan on making a better GUI and adding error handling. But for the purpose of this thread, i left that out. Also, the code is probably a bit sloppy and im sure there are better ways to do some of things i did in this code. But this is what i know. So if you have a better way to code something, reply and let us know. Enjoy! Download Code here *Message to noobs/skids* I left this code copy/pasteable... learn from it. Go through the code as you use it and understand the flow of it. Like, when you click the button it starts a thread, which starts another sub, then learn what that sub is doing. I didnt comment this code because it's late and I am tired. If you have a question about something in the code, reply/pm. RE: [Source] Youtube Download [VB.net] - Shock - 11-09-2010 This is good. Thanks, I will bookmark this. Future Reference. RE: [Source] Youtube Download [VB.net] - єץє - 11-11-2010 Nice man, thanks for sharing. Added to my bookmarks. RE: [Source] Youtube Download [VB.net] - Jet - 11-11-2010 Great share, I will be sure to try this out later and post feedback. This is a good idea. RE: [Source] Youtube Download [VB.net] - dime111 - 03-06-2011 Great share dude RE: [Source] Youtube Download [VB.net] - zerdnem - 03-07-2011 dude how did you create that gif tutorial? please pm me. thanks btw I'm learning vb and this post would really help me learn new things. |