Installing youtube-dl

The bot can use youtube-dl to download media files from several supported websites.


The bot should detect it automatically and commands like !yt, !ytdl, etc. should be available.


If you face an issue, make sure you have the Microsoft Visual C++ 2010 Redistributable Package (x86) installed.

You should also try updating youtube-dl by redownloading it as described above.


Run the following commands but make sure to adjust the path to match your SinusBot installation:

sudo apt-get update && sudo apt-get install python
cd /opt/sinusbot/
curl -L -O
chmod a+rx youtube-dl
chown sinusbot:sinusbot youtube-dl

Afterwards set YoutubeDLPath = "/opt/sinusbot/youtube-dl" in your config.ini and restart the SinusBot.

Automatic updates

If you want youtube-dl to be updated automatically you can add a cronjob that does this by executing:

echo "0 0 * * * sinusbot /opt/sinusbot/youtube-dl -U --restrict-filename >/dev/null" > /etc/cron.d/ytdl


Always make sure that you are using the latest version of youtube-dl. You can upgrade it by running /opt/sinusbot/youtube-dl -U (adjust to your own path) - assuming the user you run this with has write permissions.

You should also try manually downloading something with youtube-dl via the command line before reporting a bug. You can do that with /opt/sinusbot/youtube-dl <mediaurl>.

Make sure that the YoutubeDLPath in your config.ini is set to the correct path as described above.

Try downloading something in your SinusBot webinterface on the "Upload" page and check what it shows in the list. "youtube-dl unavailable" indicates that youtube-dl is not installed correctly; In that case reinstall it as shown above.

Signature extraction failed

  • Try updating youtube-dl: /opt/sinusbot/youtube-dl -U

Download Failed

  • Try updating youtube-dl: /opt/sinusbot/youtube-dl -U

invalid character 'W' looking for beginning of value

  • Try updating youtube-dl: /opt/sinusbot/youtube-dl -U

HTTP error 429: Too many requests

  • Create/modify the file /etc/youtube-dl.conf
  • Paste this inside the file: --force-ipv4
  • Save and try again