suggested alternative change to deno install

This commit is contained in:
msramalho
2026-04-23 14:02:51 +01:00
parent 12d9c469b2
commit 4e5c1a6218
2 changed files with 3 additions and 5 deletions

View File

@@ -4,8 +4,7 @@ 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
@@ -27,9 +26,6 @@ RUN python3 -m venv /poetry-venv && \
/poetry-venv/bin/python -m pip install --upgrade pip && \
/poetry-venv/bin/python -m pip install "poetry>=2.0.0,<3.0.0"
# Add Deno for solving YT JS challenges
RUN curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr sh
WORKDIR /app

View File

@@ -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