This bot allows you to extract the URLs of all the videos in a YouTube playlist and send them to you through Telegram.
-
Create environment inside project folder:
For Win:python -m venv env
For MacOS:virtualenv venv
-
Activate environment:
For Win:.\env\Scripts\activate
For MacOS:source venv/bin/activate
-
Installing all required packages:
pip install -r requirments.txt
-
Replace
TOKEN
in.env_example
with your own Telegram bot token.
-
Start the bot by running the following command:
python main.py
- Send the
/start
command to the bot to start using it. - Send a YouTube playlist URL to the bot, and it will extract the URLs of all the videos in the playlist and send them back to you.
- Send the
-
Enjoy the program.😊