Merge pull request #427 from PeterUpfold/deno-container

Fix missing JS runtime config for bguils_po_token_method
This commit is contained in:
Miguel Sozinho Ramalho
2026-04-24 11:08:28 +01:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -4,15 +4,14 @@ ENV RUNNING_IN_DOCKER=1 \
LANG=C.UTF-8 \ LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \ LC_ALL=C.UTF-8 \
PYTHONDONTWRITEBYTECODE=1 \ PYTHONDONTWRITEBYTECODE=1 \
PYTHONFAULTHANDLER=1 \ PYTHONFAULTHANDLER=1
PATH="/root/.local/bin:$PATH"
ARG TARGETARCH ARG TARGETARCH
# Installing system dependencies # Installing system dependencies
RUN apt-get update && \ 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 # Poetry and runtime
FROM base AS runtime FROM base AS runtime

View File

@@ -575,6 +575,8 @@ class GenericExtractor(Extractor):
"--live-from-start" if self.live_from_start else "--no-live-from-start", "--live-from-start" if self.live_from_start else "--no-live-from-start",
"--postprocessor-args", "--postprocessor-args",
"ffmpeg:-bitexact", # ensure bitexact output to avoid mismatching hashes for same video "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 # proxy handling