• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN [Request] Youtube Proxy

Status
Not open for further replies.

tronyx

Member
Hello everyone!

GEMA block most youtube videos and its not possible to play youtube musics but with proxy its possible.

This should work:

/usr/local/bin/youtube-dl --proxy "http://USER:PASSWORD@PROXY-IP/" "http://youtube.com/video_bla_bla"
I hope somebody can make plugin for example !ytproxy <youtube link> and it will download and play from proxy.
Also you can configure this user/pw, proxy-ip in Sinusbot webinterface.

If somebody is free to do this let me know, I can do some donations ;)
 

nhOmega

Member
A simpler solution is to just do:

mv /usr/local/bin/youtube-dl /usr/local/bin/youtube-dl.real

$EDITOR /usr/local/bin/youtube-dl
Code:
#!/bin/sh
/usr/local/bin/youtube-dl.real --proxy "parameters" $@

That should solve it as well.
 
Status
Not open for further replies.
Top