mirror of https://github.com/Rudloff/alltube.git
Use the --no-warnings option
This commit is contained in:
parent
78273d48fe
commit
441f45d6d7
|
@ -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 New Issue