Typo
This commit is contained in:
parent
efcf786b44
commit
e2a9b2a27c
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ Class VideoDownload
|
||||||
$cmd,
|
$cmd,
|
||||||
$json, $code
|
$json, $code
|
||||||
);
|
);
|
||||||
if ($code>0) {
|
if ($code>0) {
|
||||||
return array('success'=>false, 'error'=>$json);
|
return array('success'=>false, 'error'=>$json);
|
||||||
} else {
|
} else {
|
||||||
return json_decode($json[0]);
|
return json_decode($json[0]);
|
||||||
|
@ -162,7 +162,7 @@ Class VideoDownload
|
||||||
*
|
*
|
||||||
* @return string Title
|
* @return string Title
|
||||||
* */
|
* */
|
||||||
function getAvailabeFormats ($url)
|
function getAvailableFormats ($url)
|
||||||
{
|
{
|
||||||
exec(
|
exec(
|
||||||
VideoDownload::$_python.' youtube-dl -F '.
|
VideoDownload::$_python.' youtube-dl -F '.
|
||||||
|
|
Loading…
Reference in a new issue