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:
@@ -9,6 +9,8 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r 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/
|
COPY app/ ./app/
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
fastapi>=0.111
|
fastapi>=0.111
|
||||||
uvicorn[standard]>=0.29
|
uvicorn[standard]>=0.29
|
||||||
python-multipart>=0.0.9
|
python-multipart>=0.0.9
|
||||||
yt-dlp>=2024.1
|
yt-dlp>=2025.1
|
||||||
pydantic>=2.0
|
pydantic>=2.0
|
||||||
pydantic-settings>=2.0
|
pydantic-settings>=2.0
|
||||||
aiofiles>=23.0
|
aiofiles>=23.0
|
||||||
|
|||||||
Reference in New Issue
Block a user