• If you need help or want to discuss things, you now can also join us on our Discord Server!

youtube-dl not available - Windows

Inch

New Member
#1
Hi folks,

Got the bot up and running today, thanks for the assistance there.

However, another issue is popping up, when attempting to play videos off youtube, within the "upload" tab, it states "youtube-dl not available".
I've checked out this thread: https://forum.sinusbot.com/threads/youtube-dl-not-working-properly.5547/ - done some changes as suggested however it's still not working. This server has a full 1gbit peer, with no limits, so its not a "download speed" issue.

Example of the issue: http://myscreenshots.io/mstsc_2018-10-13_12-45-20.png

I have also increased the logLevel to 10 in the config.ini, restarted the application. It doesn't show anything. Apart from:

Code:
2018/10/13 12:46:29 f50b1b83 b73da645 INFO   CHAT 2 [public @ Inch] < !yt [URL]http://www.youtube.com/watch?v=btrzs54s1Rc[/URL] > / OK
2018/10/13 12:46:29 f50b1b83 b73da645 INFO   PRIVATE-CHAT [MusicBot] Downloading [URL]http://www.youtube.com/watch?v=btrzs54s1Rc[/URL]

Any assistance would be appreciated, thanks!
 

Inch

New Member
#3
OK - I've gotten a little further now. Specifically after doing some more research and placing the youtube-dl.exe into the sinusbot root.

Here are the latest logs,

Code:
2018/10/13 13:03:38 f50b1b83 b73da645 INFO   CHAT 2 [public @ Inch] < !yt [URL]https://www.youtube.com/watch?v=btrzs54s1Rc[/URL] > / OK
2018/10/13 13:03:38 f50b1b83 b73da645 INFO   PRIVATE-CHAT [MusicBot] Downloading [URL]https://www.youtube.com/watch?v=btrzs54s1Rc[/URL]
2018/10/13 13:03:40 f50b1b83          DEBUG  Downloading thumbnail
2018/10/13 13:03:40 f50b1b83          DEBUG  Probing https://r4---sn-5hnekn7d.googlevideo.com/videoplayback?source=youtube&mt=1539432089&mv=u&keepalive=yes&ei=R9_BW5OoJcPeVrL9k5gH&ms=au%2Crdu&ip=185.251.226.30&lmt=1537630022556626&dur=218.821&pl=24&mm=31%2C29&mn=sn-5hnekn7d%2Csn-5hne6n7l&id=o-AMsNzrBLGKDJS96_5R2LKNo11TqPcOxGjrHEERU0WlTT&clen=3660300&requiressl=yes&fvip=5&itag=251&mime=audio%2Fwebm&c=WEB&ipbits=0&gir=yes&key=yt6&gcr=gb&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&expire=1539453863&signature=C25E0CF1322ACCF2A057D21A074E8DDF78B155E7.0CEB5273C3A06FCB3868AF34EE39AA663489FDC7&ratebypass=yes for HTTP range support
2018/10/13 13:03:40 f50b1b83          INFO   Downloading (multi) 3.5M with codec opus from youtube
2018/10/13 13:03:40 error: Get https://r4---sn-5hnekn7d.googlevideo.com/videoplayback?source=youtube&mt=1539432089&mv=u&keepalive=yes&ei=R9_BW5OoJcPeVrL9k5gH&ms=au%2Crdu&ip=185.251.226.30&lmt=1537630022556626&dur=218.821&pl=24&mm=31%2C29&mn=sn-5hnekn7d%2Csn-5hne6n7l&id=o-AMsNzrBLGKDJS96_5R2LKNo11TqPcOxGjrHEERU0WlTT&clen=3660300&requiressl=yes&fvip=5&itag=251&mime=audio%2Fwebm&c=WEB&ipbits=0&gir=yes&key=yt6&gcr=gb&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&expire=1539453863&signature=C25E0CF1322ACCF2A057D21A074E8DDF78B155E7.0CEB5273C3A06FCB3868AF34EE39AA663489FDC7&ratebypass=yes: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2018/10/13 13:03:40 error: Get https://r4---sn-5hnekn7d.googlevideo.com/videoplayback?source=youtube&mt=1539432089&mv=u&keepalive=yes&ei=R9_BW5OoJcPeVrL9k5gH&ms=au%2Crdu&ip=185.251.226.30&lmt=1537630022556626&dur=218.821&pl=24&mm=31%2C29&mn=sn-5hnekn7d%2Csn-5hne6n7l&id=o-AMsNzrBLGKDJS96_5R2LKNo11TqPcOxGjrHEERU0WlTT&clen=3660300&requiressl=yes&fvip=5&itag=251&mime=audio%2Fwebm&c=WEB&ipbits=0&gir=yes&key=yt6&gcr=gb&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&expire=1539453863&signature=C25E0CF1322ACCF2A057D21A074E8DDF78B155E7.0CEB5273C3A06FCB3868AF34EE39AA663489FDC7&ratebypass=yes: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2018/10/13 13:03:40 f50b1b83 b73da645 DEBUG  Done playing
2018/10/13 13:03:40 f50b1b83 b73da645 INFO   PRIVATE-CHAT [MusicBot] Download failed for https://www.youtube.com/watch?v=btrzs54s1Rc; could not play file
I'm assuming this is Google blocking it?
 

irgendwr

Advanced AI with blockchain technology (tm)
Staff member
V.I.P.
is awesome!
is uber awesome!
Contributor
Insider
#5
Make sure that youtube-dl is up to date (it get's updated pretty often).
Try to download a video manually via cmd and see if it works there.

This is probably either an issue with your server/network or youtube-dl so we can't really do anything about it.
 

Similar threads