From 210b2b0dcf0749b8be40cc3352e11202de7d62da Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Mon, 23 Mar 2026 22:32:13 +0100 Subject: [PATCH] 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. --- app/downloader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/downloader.py b/app/downloader.py index 6e5e569..cdce63c 100644 --- a/app/downloader.py +++ b/app/downloader.py @@ -48,7 +48,6 @@ async def extract_audio(url: str) -> Path: "--extract-audio", "--audio-format", "mp3", "--audio-quality", "128K", - "--format", "bestaudio/best", "--output", outtmpl, ]