Dotty
New Member
Hi,
I'm writing a script that given a Youtube url get the mp3 file
(this part il done, I have an api pointing to the mp3 file url given the Youtube link)
and here is my problem: I want sinusbot to download this file and add it to the list.
But this api end-point "http://127.0.0.1:8087/api/v1/bot/url" is not working ( because it's not a youtube link or a link that youtube-dl can understand)
And here is a strange thing, I tried to use youtube-dl myself to download and read the file from the url and it works fine in CLI ($ youtube-dl http://myurltomp3/)
Can I get some help here ?
Thanks.
Dotty
I'm writing a script that given a Youtube url get the mp3 file
(this part il done, I have an api pointing to the mp3 file url given the Youtube link)
and here is my problem: I want sinusbot to download this file and add it to the list.
But this api end-point "http://127.0.0.1:8087/api/v1/bot/url" is not working ( because it's not a youtube link or a link that youtube-dl can understand)
And here is a strange thing, I tried to use youtube-dl myself to download and read the file from the url and it works fine in CLI ($ youtube-dl http://myurltomp3/)
Can I get some help here ?
Thanks.
Dotty