Youtube to mp3 downloader
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
8 posts
Page 1 of 1
ummm how do i explain it...
kay it does what this site does :
http://www.video2mp3.net/
but in vb, is there a way to do that?
kay it does what this site does :
http://www.video2mp3.net/
but in vb, is there a way to do that?
Yes there is an easy way to download files in VB, if that is what you are asking for.
Code: Select all
But if you want to provide users with the option to download files through your VB app (like a proxy) then that would be something else. Dim wc As WebClient = New WebClient()
Dim u As Uri = New Uri("http://localhost/file.mp3")
Try
wc.DownloadFile(u, "myfile.mp3")
Catch ex As Exception
MsgBox("Error: " & ex.Message)
Return
End Try
Mandai is right. To download files use the code he provided.
But if you're downloading youtube videos you would have to download the video as an flv first and then convert it into an mp3.
But if you're downloading youtube videos you would have to download the video as an flv first and then convert it into an mp3.
Yep that is exactly what they do
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

Yes, once you have the flv file you could use a program like ffmpeg to convert it.
Example:
Example:
Code: Select all
Dim psi As ProcessStartInfo = New ProcessStartInfo()
psi.FileName = "ffmpeg.exe"
psi.Arguments = "-i video.flv video.mp3"
Process.Start(psi)
hmm seems to work thanks mandai thats going in my new youtube program lol
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

i have no clue how to use that code
it looks like what i need tho
it looks like what i need tho
8 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023