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

View File

@ -35,7 +35,16 @@
echo $output;
echo nl2br("\n END OF THE OUTPUT\n");
echo "check"
echo "check";
$url = 'https://www.youtube.com/watch?v=GNbTRJHbC4Q';
$cmd = 'youtube-dl ' . escapeshellarg($url);
exec($cmd, $output, $ret);
echo 'output: ';
var_export($output);
echo "\nret: ";
var_export($ret);
?>