An Apple Music & Spotify Music Telegram bot downloader created with Python.
- Download songs in 256kbps AAC or 64kbps HE-AAC for high-quality audio experience.
- FFmpeg Integration for advanced users to remux audio without re-encoding, preserving original quality.
- yt-dlp Utilization for efficient and reliable downloading from music platforms.
- Customization Options to tailor the bot's behavior to your specific needs.
- Add the function of posting while downloading, you can download OVER 100 songs playlist at a time.(29/3/2024)
Before proceeding, ensure that you have FFmpeg installed on your system.
-
Clone the Repository:
git clone https://github.com/bdim404/AMdlBOT.git
-
Create a .env File:
- Navigate to the project directory.
- Create a
.env
file and insert your Telegram bot token.
-
Provide Necessary Files:
- Place your
cookies.txt
anddevice.wvd
files in the project directory, or specify their paths in the.env
file.
- Place your
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Main Script:
- Navigate to the
src
directory. - Execute
main.py
to start the bot:cd src python main.py
- Navigate to the
- Follow the installation steps carefully to avoid any errors during setup.
- This bot sends songs through a media group, so make sure you have a channel that holds a cache of songs.
- Ensure that your Telegram bot token and the files
cookies.txt
anddevice.wvd
are valid and up-to-date for the bot to function correctly. - Check your internet connection before running the bot to ensure smooth access to GitHub and the FFmpeg website.
Thanks gamdl
If you like the bot, you can support the developer!