feat: add YouTube downloader and cookie helper with updated Docker configuration
This commit is contained in:
1 parent
be66964981
commit
6b78d6ee85
4 files changed
+99
-26
No files matched your search
+5
-1
@@ -2,13 +2,17 @@
|
||||
FROM mcr.microsoft.com/dotnet/runtime:10.0 AS runtime
|
||||
WORKDIR /app
|
||||
|
||||
# タイムゾーン設定 (JST) および必要なツール(ffmpeg, python3, curl等)のインストール
|
||||
# タイムゾーン設定 (JST) および必要なツール(ffmpeg, python3, curl, unzip, deno等)のインストール
|
||||
# ※ YouTube最新仕様の署名解読 (n-challenge / EJS) には JavaScript ランタイム (deno) が必要
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
tzdata \
|
||||
ca-certificates \
|
||||
curl \
|
||||
unzip \
|
||||
python3 \
|
||||
ffmpeg \
|
||||
&& curl -fsSL https://deno.land/install.sh | sh \
|
||||
&& cp /root/.deno/bin/deno /usr/local/bin/ \
|
||||
&& curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp \
|
||||
&& chmod a+rx /usr/local/bin/yt-dlp \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
Reference in new issue
Block a user