++
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user