This commit is contained in:
edbrz9 2022-12-29 14:14:49 +01:00
parent 93804649ac
commit 9d5cf275d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);