adding some debugging print

This commit is contained in:
edbrz9 2022-12-29 12:45:54 +01:00
parent 6c4fb15d33
commit a46b2102a0
2 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@
$lang = $_POST['lang'];
echo $lang;
$output = exec("python3 test.py");
$output = exec("python3 y2t.py");
echo $output;
sleep(5);
echo "check"

View File

@ -4,6 +4,8 @@ import sys
url = sys.argv[1]
lang = sys.argv[2]
print("python script will now process url:" + url + "in lang:" + lang)
ydl_opts = {
'writesubtitles': True,
'writeautomaticsub': True,