This commit is contained in:
Pierre Rudloff 2017-12-23 14:37:29 +01:00
parent 4c33c309a0
commit 7940446af3

View file

@ -41,7 +41,7 @@ class VideoDownload
} }
/** /**
* Return a youtube-dl process with the specified arguments * Return a youtube-dl process with the specified arguments.
* *
* @param string[] $arguments Arguments * @param string[] $arguments Arguments
* *
@ -86,7 +86,7 @@ class VideoDownload
{ {
$arguments = [ $arguments = [
'--'.$prop, '--'.$prop,
$url $url,
]; ];
if (isset($format)) { if (isset($format)) {
$arguments[] = '-f '.$format; $arguments[] = '-f '.$format;