fix: Fixed the problem of m4a audio download bit rate being too low
This commit is contained in:
parent
67f1b147cc
commit
ff86fa8fbd
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ def get_format(format: str, quality: str) -> str:
|
||||||
|
|
||||||
if format in AUDIO_FORMATS:
|
if format in AUDIO_FORMATS:
|
||||||
# Audio quality needs to be set post-download, set in opts
|
# 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 format in ("mp4", "any"):
|
||||||
if quality == "audio":
|
if quality == "audio":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue