This BOT Can help you to download songs from spotify using spotdl
This BOT Can help you to download songs from YouTube using yt-dlp
git clone https://github.com/10cyrilc/spotify-bot.git
cd spotify-bot
Edit edit_me.py with Details as Follows,
Get you BOT_TOKEN from @BotFather, Required
Get API_ID and API_HASH from my.telegram.org, Required
Edit BOT_TEXT if Required
Get LOG_CHANNEL from Your Channel Settings for Logging, Required
Your MONGODB_URI from your MongoDB Account, Required
SESSION_NAME for Your Collection Name in MongoDB
BOT_OWNER is The User ID of The Developer, Required
sudo pip3 install virtualenv
virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
python bot.py
Edit the config.py with required Details
Build Dockerfile in the Repo
Run The Docker Image