Telegram Bot that helps you download direct MP3 file for personal uses.
This is Telegram Bot that helps you download direct .mp3 file, using Spotify Track link or YouTube Video link, directly into your memory for personal uses.
It contains a Python Library python-telegram-bot that provides a pure Python interface for the Telegram Bot API. It's compatible with Python versions 3.5+ and PyPy.
It also contain spotdl library which helps in downloading songs from YouTube in an MP3 format by using Spotify's HTTP link.
You can install or upgrade python-telegram-bot with:
pip install python-telegram-bot --upgrade
You also have to install spotdl library.
pip install spotdl
Go the directory where you have downloaded the files using cd
for windows.
And then run the SpotYT.py
python SpotYT.py
For the most basic usage, downloading tracks is as easy as
spotdl --song https://open.spotify.com/track/4HBZA5flZLE435QTztThqH
Check out the Available options wiki page for the list of currently available options with their description
Contributions of all sizes are welcome.
Before running the SpotYT.py
in the terminal you must:
- Assign the
TOKEN
of your Bot editing theSpotYT.py
. - Assign the
PASSWORD
for which it will authenticate you.
You are good to go now. All the Best.