From 9d5cf275d5505f31802eab80f5c9065d74b4d5e9 Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Thu, 29 Dec 2022 14:14:49 +0100 Subject: [PATCH] check --- proj/y2t/handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proj/y2t/handler.php b/proj/y2t/handler.php index 0c8520a..0d90f4f 100644 --- a/proj/y2t/handler.php +++ b/proj/y2t/handler.php @@ -38,7 +38,7 @@ echo "check"; $url = 'https://www.youtube.com/watch?v=GNbTRJHbC4Q'; - $cmd = 'youtube-dl ' . escapeshellarg($url); + $cmd = 'youtube-dl -o "/var/www/webapp_ed/ed.brz9.dev_/proj/y2t/output/%(id)s.%(ext)s" ' . escapeshellarg($url); exec($cmd, $output, $ret); echo 'output: '; var_export($output);