basically working fully w/ mp3

This commit is contained in:
2025-07-02 07:31:38 -07:00
parent e3773f850a
commit b418128686
2 changed files with 3 additions and 1 deletions

View File

@ -2,5 +2,7 @@
FROM python:3-bookworm FROM python:3-bookworm
RUN apt update && apt install -y ffmpeg
RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp
RUN chmod +x ./yt-dlp RUN chmod +x ./yt-dlp

View File

@ -13,5 +13,5 @@ fi
if [[ "$1" == "run" ]]; then if [[ "$1" == "run" ]]; then
echo "Running" echo "Running"
docker run -v vid:/vid ytdl /yt-dlp $2 docker run --rm -v $PWD/vid:/vid ytdl /yt-dlp -P /vid -x --audio-format mp3 $2
fi fi