Skip to content

Arturo2R/MyDownloaderBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Downloader Bot

Telegram bot made with the python, for unique purpose of downloading songs high quality songs with all the metada from the internet. You can use this bot clicking here MusicBot or searching for @downspotmusicbot in telegram

Dependencies

  • Requests: Making the requests to youtube API for searching songs, and for the Spotify recommendations API
  • Python-telegram-bot: As the core library for building the telegram bot
  • Pytube: To download the songs from youtube
  • Spotdl: To download songs with the spotify links and search engine, but downloading the songs from YoutubeMusic

It may seem that there is a bit of redundacy with dependencie modules and it's true. I am migrating all the critical operations to Spotdl api.

Building

Docker

Buildit with docker using the Dockerfile and setting the environment variable

Poetry

You can buildit from the source code using poetry

Install Poetry:

	sudo apt-get upgrade && sudo apt-get update && sudo apt-get install poetry

Install Dependencies:

	poetry install

Install ffmpeg:

	sudo apt-get install -y ffmpeg

Set The Env Variables

	BOTTOKEN = # The telegram bot token
	GOOGLEAPI = # GoogleAPiToken
    CLIENTID = # Spotify CLient Id
    CLIENTSCRT = # Spotify Client Secret

Run The Project

	poetry run python3.8 main.py

About

My Bot For downloading songs in telegram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors