A simple Telegram bot built with Python to download YouTube videos and provide related functionalities.
-
Open your terminal and run:
git clone https://github.com/abdellahaarab/Python-telegram-bot.git
-
Navigate into the project folder:
cd Python-telegram-bot
-
Install the required dependencies:
pip install -r r.txt
-
Run the bot:
python main.py
-
Open the project in your favorite text editor.
-
Create or edit the
.env
file and add your Telegram bot token as:token="your_token_here"
Make sure to install the following Python packages to run the bot smoothly:
pip install python-telegram-bot
pip install pyTelegramBotAPI
pip install pytube
pip install pytube3