So I'm currently working on my skype bot and I am having one hell of a time trying to figure out how to make a youtube to mp3 converter for my skype bot. Here is my code so far:
I don't know what else to do or how to make it automatically change into an mp3 and spit out a download link. Please help!
Code
ElseIf message.StartsWith("!convert") Then
Dim list() As String = Split(message)
Dim request As HttpWebRequest = HttpWebRequest.Create("https://www.youtubeinmp3.com/fetch/?format=text&video=" & list(1))
Dim response As HttpWebResponse = request.GetResponse
Dim source As String = New IO.StreamReader(response.GetResponseStream).ReadToEnd
If source = "" Then
Skype.SendMessage(user, "Link invalid. Enter command like this: !convert https://www.youtube.com/watch?v=UnfrLaQj-rk")
Else
Skype.SendMessage(user, source & " Thank you for your support")
End IfI don't know what else to do or how to make it automatically change into an mp3 and spit out a download link. Please help!

