a simple(rough) youtube-dl telegram bot
-
local
-
install package: ffmpeg
-
install pypi package: python-telegram-bot youtube-dl
-
run:
tgtoken="TG-BOT-TOKEN" tgchatid="TG-CHAT-ID" ytdldir="/PATH/TO/DOWNLOAD/DIR" python3 bot.py
-
-
container
docker run -d --restart=unless-stopped \ -e tgtoken="TG-BOT-TOKEN" -e tgchatid="TG-CHAT-ID" \ -v /PATH/TO/DOWNLOAD/DIR:/ytdl \ ghcr.io/emptyteeth/ytdl-tg-bot:latest