Skip to content

Commit ad2c49f

Browse files
committed
Fix yt-dlp missing EJS resolvers
1 parent dfe89b3 commit ad2c49f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /app
1010
COPY --from=build /app .
1111
COPY ./Scripts/install-dotnet8.sh .
1212
RUN bash install-dotnet8.sh
13-
RUN python3 -m pip install --force-reinstall --break-system-packages git+https://github.com/yt-dlp/yt-dlp.git@release
13+
RUN python3 -m pip install --force-reinstall --break-system-packages "yt-dlp[default] @ git+https://github.com/yt-dlp/yt-dlp.git@release"
1414
ADD https://deno.land/install.sh install-deno.sh
1515
RUN apt-get update && apt-get install --no-install-recommends -y unzip
1616
RUN bash install-deno.sh -y

Workers/YtDlp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public YtDlp(EnvironmentConfig config, ILogger<YtDlp> logger)
1111
{
1212
var updateStartInfo = new ProcessStartInfo("python3")
1313
{
14-
Arguments = $"-m pip install --force-reinstall --break-system-packages git+https://github.com/yt-dlp/yt-dlp.git@{config.YtDlpUpdateBranch}",
14+
Arguments = $"-m pip install --force-reinstall --break-system-packages \"yt-dlp[default] @ git+https://github.com/yt-dlp/yt-dlp.git@{config.YtDlpUpdateBranch}\"",
1515
RedirectStandardError = true,
1616
RedirectStandardOutput = true
1717
};

0 commit comments

Comments
 (0)