/SpotYT

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.

Primary LanguagePythonMIT LicenseMIT

SpotYT

Telegram Bot that helps you download direct MP3 file for personal uses.

Introduction

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.

Installation

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

Running

Go the directory where you have downloaded the files using cd for windows. And then run the SpotYT.py

python SpotYT.py

Usage

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

Screenshots

Image

Contributing

Contributions of all sizes are welcome.

Note

Before running the SpotYT.py in the terminal you must:

  • Assign the TOKEN of your Bot editing the SpotYT.py.
  • Assign the PASSWORD for which it will authenticate you.

You are good to go now. All the Best.

License

MIT