From 15006d4780a849eddf5e9db0c7ca5fdf894e0ba8 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 2 Mar 2023 19:48:13 +0100 Subject: [PATCH] yt-dlp verbose fix --- proj/YT2P/y2t.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proj/YT2P/y2t.py b/proj/YT2P/y2t.py index edcf78b..bf7bb37 100644 --- a/proj/YT2P/y2t.py +++ b/proj/YT2P/y2t.py @@ -29,6 +29,7 @@ ydl_opts = { 'outtmpl': 'output/%(id)s', 'skip_download': True, 'writethumbnail': False, + 'progress' : False, 'quiet': True } @@ -81,6 +82,6 @@ if blocks == 1 : else : for i in range(blocks): - print('This is part '+ str(i+1) +'/'+ str(blocks) + ' of the transcript of a video titled: « ' + title + ' » : ' + sList[i]) + print('This is part '+ str(i+1) +'/'+ str(blocks) + ' of the transcript of a video titled: « ' + title + ' » : "' + sList[i] + '"') - print("Based on the " + str(blocks) + " parts of the transcript, write a summary with a list of relevant points with a title and few sentences for each point" + inFrench) \ No newline at end of file + print("Based on the " + str(blocks) + " parts of the transcript of the video titled « " + title + " » provided in the previous prompts, write a summary with a list of relevant points with a title and few sentences for each point" + inFrench) \ No newline at end of file