hh
This commit is contained in:
@@ -2082,8 +2082,9 @@ class Download_File(Cmdlet):
|
||||
except Exception:
|
||||
height_selector = None
|
||||
if query_wants_audio:
|
||||
# Explicit audio request should map to the configured audio selector (usually '251/140/bestaudio')
|
||||
ytdl_format = ytdlp_tool.default_format("audio")
|
||||
# Explicit `format:audio` must always force bestaudio fallback chain
|
||||
# and avoid format-list/selector ambiguity.
|
||||
ytdl_format = "bestaudio/best"
|
||||
elif height_selector:
|
||||
ytdl_format = height_selector
|
||||
elif query_format:
|
||||
|
||||
Reference in New Issue
Block a user