adding some debugging print
This commit is contained in:
parent
6c4fb15d33
commit
a46b2102a0
|
@ -19,7 +19,7 @@
|
||||||
$lang = $_POST['lang'];
|
$lang = $_POST['lang'];
|
||||||
echo $lang;
|
echo $lang;
|
||||||
|
|
||||||
$output = exec("python3 test.py");
|
$output = exec("python3 y2t.py");
|
||||||
echo $output;
|
echo $output;
|
||||||
sleep(5);
|
sleep(5);
|
||||||
echo "check"
|
echo "check"
|
||||||
|
|
|
@ -4,6 +4,8 @@ import sys
|
||||||
url = sys.argv[1]
|
url = sys.argv[1]
|
||||||
lang = sys.argv[2]
|
lang = sys.argv[2]
|
||||||
|
|
||||||
|
print("python script will now process url:" + url + "in lang:" + lang)
|
||||||
|
|
||||||
ydl_opts = {
|
ydl_opts = {
|
||||||
'writesubtitles': True,
|
'writesubtitles': True,
|
||||||
'writeautomaticsub': True,
|
'writeautomaticsub': True,
|
||||||
|
|
Loading…
Reference in New Issue