L'oncle claude ce nulos il sait pas déterminenr combien de temps ça dure une musique
All checks were successful
ci / deploy (push) Successful in 5m53s

This commit is contained in:
2026-01-19 23:01:47 +01:00
parent 1a5453a714
commit cc5ffc0133
5 changed files with 47 additions and 16 deletions

View File

@@ -11,7 +11,7 @@ if __name__ == "__main__":
ydl_parameters = {
"format": "bestaudio/best",
"postprocessors": [{"key": "FFmpegExtractAudio", "preferredcodec": "vorbis"}],
"outtmpl": f"{songs_folder}/%(title)s.godwin",
"outtmpl": f"{songs_folder}/%(title)s",
"ignoreerrors": True,
"restrictfilenames": True,
}
@@ -23,7 +23,7 @@ if __name__ == "__main__":
# Radio Bullshit Jingles
## change output path for Radio Bullshit jingles
ydl_parameters["outtmpl"] = f"{jingles_folder}/%(title)s.godwin"
ydl_parameters["outtmpl"] = f"{jingles_folder}/%(title)s"
## download
ydl = yt_dlp.YoutubeDL(ydl_parameters)
ydl.extract_info(