YouTube Downloader Telegram Bot
A Python Telegram bot that downloads YouTube videos or extracts audio directly from simple chat commands using yt-dlp.
About this Project
This project provides a Telegram bot interface for downloading YouTube content. Users send a YouTube link to the bot and receive either the full video or an audio-only file back in the chat.
The bot is built with python-telegram-bot and yt-dlp, and is designed to be simple to deploy and easy to extend. Downloaded media is kept in an organised folder before being delivered back to the user, and the bot token is supplied through an environment variable rather than hard-coded.
Key Features
Key Achievements
Built a working Telegram bot with python-telegram-bot, handling commands and file delivery.
Integrated yt-dlp to reliably download video and audio streams from user-supplied links.
Handled user input validation and managed downloaded media files on the server.