From cda268e6f7e9b61e598dc3022f3c7fc12ff15dde Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Fri, 30 Dec 2022 19:58:56 +0100 Subject: [PATCH] add full transcript in first possition --- proj/y2t/y2t.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proj/y2t/y2t.py b/proj/y2t/y2t.py index 843a222..f2a032a 100644 --- a/proj/y2t/y2t.py +++ b/proj/y2t/y2t.py @@ -40,7 +40,7 @@ with open(subFn, "r") as f: txt = txt.replace("\n"," ") -#print(txt) +print("Here is the full transcript of the video titled: « " + title + " » - " + txt) words = txt.split() sList = [] @@ -61,5 +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 + '»: ' + sList[i]) + print('This is part '+ str(i+1) +'/'+ str(blocks) + ' of the transcript of a video named: « ' + title + ' » : ' + sList[i])