From b510c1775ccdec9b0ed8db58912de073488cf311 Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Thu, 29 Dec 2022 14:18:14 +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 0d90f4f..c7d6e0d 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 -o "/var/www/webapp_ed/ed.brz9.dev_/proj/y2t/output/%(id)s.%(ext)s" ' . escapeshellarg($url); + $cmd = 'youtube-dl -o "/var/www/webapp_ed/ed.brz9.dev_/proj/y2t/output/%(id)s.%(ext)s" --skip-download --list-subs ' . escapeshellarg($url); exec($cmd, $output, $ret); echo 'output: '; var_export($output);