This commit is contained in:
edbrz9 2022-12-29 14:22:44 +01:00
parent b510c1775c
commit c506bb3fab
1 changed files with 7 additions and 2 deletions

View File

@ -21,7 +21,11 @@
echo $lang; echo $lang;
echo nl2br("\n"); echo nl2br("\n");
exec("python3 y2t.py $ulr $lang", $output, $return);
$cmd = "python3 y2t.py " . $url . " " . $lang ;
exec($cmd, $output, $return);
echo nl2br("executing the thing\n"); echo nl2br("executing the thing\n");
//wait($return_code); //wait($return_code);
@ -35,6 +39,7 @@
echo $output; echo $output;
echo nl2br("\n END OF THE OUTPUT\n"); echo nl2br("\n END OF THE OUTPUT\n");
/*
echo "check"; echo "check";
$url = 'https://www.youtube.com/watch?v=GNbTRJHbC4Q'; $url = 'https://www.youtube.com/watch?v=GNbTRJHbC4Q';
@ -44,7 +49,7 @@
var_export($output); var_export($output);
echo "\nret: "; echo "\nret: ";
var_export($ret); var_export($ret);
*/
?> ?>