fix: remove --format flag from yt-dlp to avoid unavailable format errors
--extract-audio + --audio-format mp3 handles conversion regardless of source format, so the explicit --format bestaudio/best was unnecessarily restrictive.
This commit is contained in:
@@ -48,7 +48,6 @@ async def extract_audio(url: str) -> Path:
|
||||
"--extract-audio",
|
||||
"--audio-format", "mp3",
|
||||
"--audio-quality", "128K",
|
||||
"--format", "bestaudio/best",
|
||||
"--output", outtmpl,
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user