check
This commit is contained in:
parent
aa6ae1ef18
commit
c444fab5f0
|
@ -37,7 +37,7 @@
|
|||
$txt = var_export($output, true);
|
||||
echo $txt[0];
|
||||
echo nl2br("\nreturn:\n");
|
||||
var_export($return);
|
||||
//var_export($return);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -2,17 +2,9 @@ import youtube_dl
|
|||
import sys
|
||||
import os
|
||||
|
||||
with open ("output/hello.txt", 'w') as file:
|
||||
file.write("hello file check 2")
|
||||
|
||||
url = sys.argv[1]
|
||||
lang = sys.argv[2]
|
||||
|
||||
print("python script will now process url:" + url + "in lang:" + lang)
|
||||
|
||||
with open ("output/check 13", 'w') as file:
|
||||
file.write("echek 13\n")
|
||||
|
||||
ydl_opts = {
|
||||
'writesubtitles': True,
|
||||
'writeautomaticsub': True,
|
||||
|
@ -69,6 +61,5 @@ if currentString:
|
|||
blocks = len(sList)
|
||||
|
||||
for i in range(blocks):
|
||||
print('This is part '+ str(i+1) +'/'+ str(blocks) + " of the transcript of a video named: "+ title)
|
||||
print(sList[i])
|
||||
print('This is part '+ str(i+1) +'/'+ str(blocks) + " of the transcript of a video named: "+ title + ": \n" + sList[i])
|
||||
|
||||
|
|
Loading…
Reference in New Issue