Download youtube-dl with composer (fixes #35)

This commit is contained in:
Pierre Rudloff 2015-10-29 19:02:19 +01:00
parent 347ec92f35
commit 05b144cb7b
5 changed files with 89 additions and 6 deletions

View file

@ -64,7 +64,7 @@ Class VideoDownload
* */
static function getFilename($url, $format=null)
{
$cmd=PYTHON.' youtube-dl';
$cmd=PYTHON.' '.YOUTUBE_DL;
if (isset($format)) {
$cmd .= ' -f '.escapeshellarg($format);
}