Music Downloader
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.
Documents
In Chinese
https://musicdl.readthedocs.io/
Statement
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.
Support List
Websites | Support Search? | Support Download? | in Chinese |
---|---|---|---|
✓ | ✓ | QQ音乐 | |
Lizhi | ✓ | ✓ | 荔枝FM |
Yiting | ✓ | ✓ | 一听音乐 |
Kuwo | ✓ | ✓ | 酷我音乐 |
Kugou | ✓ | ✓ | 酷狗音乐 |
Xiami | ✓ | ✓ | 虾米音乐 |
Qianqian | ✓ | ✓ | 千千音乐 |
Migu | ✓ | ✓ | 咪咕音乐 |
JOOX | ✓ | ✓ | JOOX音乐 |
Fivesing | ✓ | ✓ | 5SING音乐 |
Netease | ✓ | ✓ | 网易云音乐 |
baiduFlac | ✓ | ✓ | 百度无损音乐 |
Install
Pip install
run "pip install musicdl"
Source code install
(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"
Quick Start
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', 'yiting',
]
client = musicdl.musicdl(config=config)
client.run(target_srcs)