Use the --no-warnings option
This commit is contained in:
parent
78273d48fe
commit
441f45d6d7
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ Class VideoDownload
|
|||
if (isset($format)) {
|
||||
$cmd .= ' -f '.escapeshellarg($format);
|
||||
}
|
||||
$cmd .=' --dump-json '.escapeshellarg($url)." 2>&1";
|
||||
$cmd .=' --no-warnings --dump-json '.escapeshellarg($url)." 2>&1";
|
||||
exec(
|
||||
$cmd,
|
||||
$json, $code
|
||||
|
|
Loading…
Reference in a new issue