A simple music downloading app which doesn't require any API keys.
Check pymusicdl-termux for android setup.
Features
- Download single song
- Download Youtube Playlist
- Download Spotify playlist/album (searches on youtube and downloads the top result)
- Convert downloaded songs to mp3 or flac
The final result
![https://open.spotify.com/playlist/4WtqLI6gaRFaWB4g6mDnAX](https://github.com/insaiyancvk/pymusicdl/raw/main/assets/downloads.jfif)
Setup
Check it out on YouTube! youtube decided to remove the video and I didn't back it up anywhere :p
Installation and usage:
Windows
Note
Read the instructions carefully
- Make sure Python is added to your Path.
- Make sure PIP is added to your Path.
- Run the following command in Command prompt
curl -o setup.bat https://raw.githubusercontent.com/insaiyancvk/pymusicdl/main/setup.bat && setup && del setup.bat
- Everytime you want to download music just type
musicdl
in cmd :)
Linux
pip install pymusicdl
pip install https://github.com/mps-youtube/pafy/archive/refs/heads/develop.zip
curl -o ~/.local/bin/musicdl https://raw.githubusercontent.com/insaiyancvk/pymusicdl/pure-python/musicdl && chmod +x ~/.local/bin/musicdl && clear && echo -e '\n\nType \033[1m\033[3mmusicdl\033[0m in your terminal to download music :)\n\n'
- Everytime you want to download music just type
musicdl
in terminal :)
Android
Check pymusicdl-termux for sample images
curl -sS -o setup.sh https://raw.githubusercontent.com/insaiyancvk/pymusicdl/pymusicdl-termux/setup.sh && chmod +x setup.sh && ./setup.sh
- Everytime you want to download music just type
musicdl
in termux :)
Updating the package:
pip install pymusicdl_termux -U
- or you can use
python3 -m pip install pymusicdl -U
in Termux
To fix the 'dislike_count' error:
-
Uninstall pafy and install from github repository.
(run the following command in command prompt)
pip uninstall pafy && pip install https://github.com/mps-youtube/pafy/archive/refs/heads/develop.zip
Updating the package:
pip install pymusicdl -U
Fun fact: I did this project when I got covid :)
![Buy Me A Coffee](https://cdn.buymeacoffee.com/buttons/default-orange.png)