fix: upgrade yt-dlp to 2025.x to fix YouTube extraction

YouTube regularly breaks older yt-dlp versions. Bumped the minimum version
and added a separate Docker layer for yt-dlp so it can be upgraded without
busting the main pip cache.
This commit is contained in:
Julien Calixte
2026-03-23 22:29:25 +01:00
parent 075c621614
commit 880c23dbe5
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Install yt-dlp last so it can be bumped independently without busting the cache above
RUN pip install --no-cache-dir --upgrade "yt-dlp>=2025.1"
COPY app/ ./app/

View File

@@ -1,7 +1,7 @@
fastapi>=0.111
uvicorn[standard]>=0.29
python-multipart>=0.0.9
yt-dlp>=2024.1
yt-dlp>=2025.1
pydantic>=2.0
pydantic-settings>=2.0
aiofiles>=23.0