mirror of
https://github.com/marcopiovanello/yt-dlp-web-ui.git
synced 2026-07-25 06:54:30 +00:00
ab64a5370a
Switch from debian to apline linux based container. Cut down final image size by ~1GB
13 lines
311 B
Bash
Executable File
13 lines
311 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Downloading latest yt-dlp build..."
|
|
|
|
rm -f yt-dlp
|
|
|
|
RELEASE=$(curl --silent "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
|
|
|
|
wget "https://github.com/yt-dlp/yt-dlp/releases/download/$RELEASE/yt-dlp"
|
|
|
|
chmod +x yt-dlp
|
|
|
|
echo "Done!" |