fix: Fixed the problem of m4a audio download bit rate being too low

This commit is contained in:
f18326186224 2024-06-18 04:29:33 +08:00
parent 67f1b147cc
commit ff86fa8fbd

View file

@ -28,7 +28,7 @@ def get_format(format: str, quality: str) -> str:
if format in AUDIO_FORMATS:
# Audio quality needs to be set post-download, set in opts
return f"bestaudio[ext={format}]/bestaudio/best"
return f"bestaudio/best"
if format in ("mp4", "any"):
if quality == "audio":