/ Tools

youtube-dl

youtube-dl

Software to download video and music from youtube and other websites

Installation

Debian and Ubuntu

apt install youtube-dl

Windows

choco install -y youtube-dl

CLI

Lot of exemples here.

WebUI

[By p1rox](https://github.com/p1rox/Youtube-dl-WebUI "https://github.com/p1rox/Youtube-dl-WebUI").

apt install ffmpeg
cd /srv/
git clone https://github.com/p1rox/Youtube-dl-WebUI.git youtube-dl-webui
echo <<CONF > /srv/youtube-dl-webui/config/config.php
<?php    
  //No \"/\" at the end of outputFolder   
  return array(
    "security" => true,
    "password" => "`echo -n verysecretpassword | md5sum`",
    "outputFolder" => "downloads",
    "extracter" => "ffmpeg",
    "max_dl" => 3
  );
?>
CONF
echo <<APACHE > /etc/apache2/sites-available/youtube-dl-webui.conf
Alias /ydl/ /srv/youtube-dl-webui/
<Directory /srv/youtube-dl-webui/>
  DirectoryIndex index.php
  Options +FollowSymLinks -Indexes
  AllowOverride None
  Require all granted
</Directory>
APACHE
a2ensite youtube-dl-webui.conf
systemctl reload apache2.service
youtube-dl
Share this