From 2c33c3b49b0f7d43015352d2f5a94995ca371b9c Mon Sep 17 00:00:00 2001 From: Colin Davis <401330+e1ven@users.noreply.github.com> Date: Sat, 8 Nov 2025 01:01:48 +0000 Subject: [PATCH] [DOCKER] Add curl-cffi and yt-dlp-ejs dependencies Adds recommended deps from yt-dlp README --- docker/Dockerfile | 4 ++-- docker/Dockerfile.gui | 4 ++-- docker/Dockerfile.ubuntu | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 53f04090..adc3e443 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -48,8 +48,8 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \ fi && \ # Configure pip globally echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \ - # Install ytdl-sub, ensure it is installed properly - python3 -m pip install ytdl_sub-*.whl && \ + # Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly + python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \ ytdl-sub -h && \ # Delete unneeded packages after install rm ytdl_sub-*.whl && \ diff --git a/docker/Dockerfile.gui b/docker/Dockerfile.gui index 3b89252b..e78266ce 100644 --- a/docker/Dockerfile.gui +++ b/docker/Dockerfile.gui @@ -67,8 +67,8 @@ RUN mkdir -p /config && \ deno --help && \ # Configure pip globally echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \ - # Install ytdl-sub, ensure it is installed properly - python3 -m pip install ytdl_sub-*.whl && \ + # Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly + python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \ ytdl-sub -h && \ # Delete unneeded packages after install rm ytdl_sub-*.whl && \ diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 5199c8ec..5ba76866 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -70,8 +70,8 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \ deno --help && \ # Configure pip globally echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \ - # Install ytdl-sub, ensure it is installed properly - python3 -m pip install ytdl_sub-*.whl && \ + # Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly + python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \ ytdl-sub -h && \ # Delete unneeded packages after install rm ytdl_sub-*.whl && \