A lightweight music downloader written by pure python.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.
https://musicdl.readthedocs.io/
This repository is created just for learning python(Commercial prohibition).
All the apis used in this repository are from public network. So, if you want to download the paid songs,
please open a paid member on corresponding music platform by yourself (respect the music copyright please).
Finally, if there are any infringements, please contact me to delete this repository.
Websites | Support Search? | Support Download? | in Chinese |
---|---|---|---|
✓ | ✓ | QQ音乐 | |
Kuwo | ✓ | ✓ | 酷我音乐 |
Kugou | ✓ | ✓ | 酷狗音乐 |
Xiami | ✓ | ✓ | 虾米音乐 |
Qianqian | ✓ | ✓ | 千千音乐 |
Migu | ✓ | ✓ | 咪咕音乐 |
Netease | ✓ | ✓ | 网易云音乐 |
baiduFlac | ✓ | ✓ | 百度无损音乐 |
JOOX | ✓ | ✓ | JOOX音乐 |
run "pip install musicdl"
(1) Offline
Step1: git clone https://github.com/CharlesPikachu/musicdl.git
Step2: cd musicdl -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/musicdl.git@master"
from musicdl import musicdl
config = {'logfilepath': 'musicdl.log', 'savedir': 'downloaded', 'search_size_per_source': 5, 'proxies': {}}
target_srcs = ['baiduFlac', 'kugou', 'kuwo', 'qq', 'qianqian', 'netease', 'migu', 'xiami', 'joox']
client = musicdl.musicdl(config=config)
client.run(target_srcs)