Skip to content
Snippets Groups Projects
Commit a55fa641 authored by Hector Blondel's avatar Hector Blondel
Browse files

title

parent 39e80160
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ while True : ...@@ -33,7 +33,7 @@ while True :
while i < len(all_videos) and all_videos[i] not in seen_videos : while i < len(all_videos) and all_videos[i] not in seen_videos :
vid = all_videos[i] vid = all_videos[i]
print(vid) 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) os.system(command)
seen_videos.append(vid) seen_videos.append(vid)
i += 1 i += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment