From c0cf7a90b63bdf9dd953b6674d0b513b0f49d727 Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Mon, 15 Aug 2022 01:43:41 +0200 Subject: [PATCH] Add more debug output --- index.php | 1 + 1 file changed, 1 insertion(+) mode change 100755 => 100644 index.php diff --git a/index.php b/index.php old mode 100755 new mode 100644 index 6c286e9..4dc8c96 --- a/index.php +++ b/index.php @@ -89,6 +89,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST') { } set_time_limit(0); + echo '[system] Executing' . 'youtube-dl ' . $option['option']. ' ' . $url . "\r\n"; system('youtube-dl ' . $option['option']. ' ' . $url . ' 2>&1', $exitCode); die('exit code: ' . $exitCode); }