diff --git a/Dockerfile b/Dockerfile index c2ffe35..084ed4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,14 @@ ENV RUNNING_IN_DOCKER=1 \ LANG=C.UTF-8 \ LC_ALL=C.UTF-8 \ PYTHONDONTWRITEBYTECODE=1 \ - PYTHONFAULTHANDLER=1 \ - PATH="/root/.local/bin:$PATH" + PYTHONFAULTHANDLER=1 ARG TARGETARCH # Installing system dependencies RUN apt-get update && \ - apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk + apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk # Poetry and runtime FROM base AS runtime diff --git a/src/auto_archiver/modules/generic_extractor/generic_extractor.py b/src/auto_archiver/modules/generic_extractor/generic_extractor.py index d3a2f1b..b60132e 100644 --- a/src/auto_archiver/modules/generic_extractor/generic_extractor.py +++ b/src/auto_archiver/modules/generic_extractor/generic_extractor.py @@ -575,6 +575,8 @@ class GenericExtractor(Extractor): "--live-from-start" if self.live_from_start else "--no-live-from-start", "--postprocessor-args", "ffmpeg:-bitexact", # ensure bitexact output to avoid mismatching hashes for same video + "--js-runtimes", + "node", # yt-dlp defaults to deno-only; node is available in the base image ] # proxy handling