From a55fa641b1ad0caa833c843a2802f26b0c15b89d Mon Sep 17 00:00:00 2001 From: Blondel Hector <hector.blondel@student-cs.fr> Date: Sun, 20 Mar 2022 11:53:17 +0100 Subject: [PATCH] title --- download_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_server.py b/download_server.py index 832068e..a845b59 100644 --- a/download_server.py +++ b/download_server.py @@ -33,7 +33,7 @@ while True : while i < len(all_videos) and all_videos[i] not in seen_videos : vid = all_videos[i] print(vid) - command = "yt-dlp -f 'ba' -x --audio-format mp3 https://www.youtube.com/watch?v={0} -o '%(id)s.mp3' ".format(vid) + command = "yt-dlp -f 'ba' -x --audio-format mp3 https://www.youtube.com/watch?v={0} -o '%(title)s.mp3' ".format(vid) os.system(command) seen_videos.append(vid) i += 1 -- GitLab