Download MP3 httpSocket

Ok this website is able to convert the instant a youtube video MP3 and give the direct download link:

http://www.youtubeinmp3.com/fetch/?format=text&video=https://www.youtube.com/watch?v=DyNX_ZYx0Ss

result:

Title: MUSICA SIN COPYRIGHT #2
Length: 234
Link: http://www.youtubeinmp3.com/download/get/?i=s08jo3Oo17%2B7pHQKLmWSiFta0wbAGMFKXeYmz%2FbVD0S0%2F1DonV2nn%2FGGItKi2CYSwPsxRf5CdZs%2BNLCe8HNmXg%3D%3D

I want to take this direct link and download a HTTPSocket

example:


  dim sock As new HTTPSocket
  dim F As FolderItem
  dim url as string
  
  url="http://www.youtubeinmp3.com/download/get/?i=s08jo3Oo17%2B7pHQKLmWSiFta0wbAGMFKXeYmz%2FbVD0S0%2F1DonV2nn%2FGGItKi2CYSwPsxRf5CdZs%2BNLCe8HNmXg%3D%3D"
  
  
  
  F = GetFolderItem("Download\\test.mp3")
  sock.Get(url, F)
 

but not download…

the link is a direct download which can be downloaded from a browser

anyone have any idea?
thank.

if you have youtube-dl you can use this Project File

paste your url and hit ENTER

Handle the redirects. Check the HTTPStatus and if it is a redirect (3xx) then make sure you grab the new URL via the “Location” header and download with that URL.

not redirects.
is direct link…

I tried the link and the result is httpStatus 302, redirect.

you could take the new link redirect?

http://www.youtubeinmp3.com/download/get/?i=TJ8bMPd0d5%2FNTqvoLikM8DDJt9F9NAztKIIzALiLm0oLKHTw9ePm3Yi2piXonwlqOw8mxGTGC6jG0zAqyAouHw%3D%3D