Create your / Saját építése

I tried out on Ubuntu Server.

Check this tutorial:

You have to install youtube-dl :
sudo apt-get install youtube-dl

If you have problem with running check this link:

sudo youtube-dl -U

sudo easy_install -U youtube-dl

sudo youtube-dl

My test: sudo youtube-dl – f37 --extract-audio --audio-format mp3 -o "/var/www/mp3 folder/%(title)s.%(ext)s"

f37: audo size setting

… You can set url with PHP:

$validLink = validData($_GET['youtubelink']);

$output = shell_exec('youtube-dl --extract-audio --audio-format mp3 -o "/var/www/mp3 folder/file/%(title)s.%(ext)s" '.$validLink );


Blogbook : PHP | Javascript | Laravel | Corcel | CodeIgniter | VueJs | ReactJs | WordPress