From 441f45d6d715c4fa481194a0bfd9a2c1899ea29b Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 28 Mar 2014 21:23:20 +0100 Subject: [PATCH] Use the --no-warnings option --- download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.php b/download.php index 5c7eb9a..ab2f177 100644 --- a/download.php +++ b/download.php @@ -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