diff --git a/proj/y2t/y2t.py b/proj/y2t/y2t.py index d731139..86c3743 100644 --- a/proj/y2t/y2t.py +++ b/proj/y2t/y2t.py @@ -10,6 +10,9 @@ 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 +72,3 @@ 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]) -with open ("output/hello_end.txt", 'w') as file: - file.write("hello file check end") -exit(0) \ No newline at end of file