This commit is contained in:
2026-01-10 14:42:56 +01:00
parent 0b6ce3134b
commit a5743a40e3

View File

@@ -155,7 +155,8 @@ def download():
if mode == "video":
if format_id:
ydl_opts["format"] = format_id
# Use specific format ID + best audio, then merge
ydl_opts["format"] = f"{format_id}+bestaudio/best"
else:
ydl_opts["format"] = "bestvideo*+bestaudio/best"
else: