Musicdl: A lightweight music downloader written by pure python
Project description
Documents: https://musicdl.readthedocs.io/
Musicdl
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.
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
Source_EN | Support Search? | Support Download? | Source_CN |
---|---|---|---|
QQMusic | ✓ | ✓ | QQ音乐 |
Lizhi | ✓ | ✓ | 荔枝FM |
Yiting | ✓ | ✓ | 一听音乐 |
Kuwo | ✓ | ✓ | 酷我音乐 |
Kugou | ✓ | ✓ | 酷狗音乐 |
Qianqian | ✓ | ✓ | 千千音乐 |
Migu | ✓ | ✓ | 咪咕音乐 |
JOOX | ✓ | ✓ | JOOX音乐 |
Fivesing | ✓ | ✓ | 5SING音乐 |
Netease | ✓ | ✓ | 网易云音乐 |
Ximalaya | ✓ | ✓ | 喜马拉雅 |
Practice with Musicdl
Project_EN | Introduction | Code | Project_CN |
---|---|---|---|
musicdlgui | click | click | 音乐下载器GUI界面 |
singerlyricsanalysis | click | click | 歌手歌词分析 |
searchlyrics | click | click | 歌词获取歌曲片段 |
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
Run by leveraging the API
from musicdl import musicdl
config = {'logfilepath': 'musicdl.log', 'savedir': 'downloaded', 'search_size_per_source': 5, 'proxies': {}}
target_srcs = [
'kugou', 'kuwo', 'qqmusic', 'qianqian', 'fivesing',
'netease', 'migu', 'joox', 'yiting',
]
client = musicdl.musicdl(config=config)
client.run(target_srcs)
Run by leveraging compiled file
Usage: musicdl [OPTIONS]
Options:
--version Show the version and exit.
-k, --keyword TEXT 搜索的歌曲关键字, 若不指定, 则进入musicdl终端版
-l, --logfilepath TEXT 日志文件保存的路径
-p, --proxies TEXT 设置的代理
-s, --savedir TEXT 下载的音乐保存路径
-c, --count TEXT 在各个平台搜索时的歌曲搜索数量
-t, --targets TEXT 指定音乐搜索的平台, 例如"migu,joox"
--help Show this message and exit.
Screenshot
Projects in Charles_pikachu
- Games: Create interesting games by pure python.
- DecryptLogin: APIs for loginning some websites by using requests.
- Musicdl: A lightweight music downloader written by pure python.
- Videodl: A lightweight video downloader written by pure python.
- Pytools: Some useful tools written by pure python.
- PikachuWeChat: Play WeChat with itchat-uos.
- Pydrawing: Beautify your image or video.
- ImageCompressor: Image compressors written by pure python.
- FreeProxy: Collecting free proxies from internet.
- Paperdl: Search and download paper from specific websites.
- Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.
- CodeFree: Make no code a reality.
- DeepLearningToys: Some deep learning toys implemented in pytorch.
- DataAnalysis: Some data analysis projects in charles_pikachu.
- Imagedl: Search and download images from specific websites.
- Pytoydl: A toy deep learning framework built upon numpy.
- NovelDL: Search and download novels from some specific websites.
More
WeChat Official Accounts
Charles_pikachu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
musicdl-2.3.6.tar.gz
(24.8 kB
view details)
Built Distribution
musicdl-2.3.6-py3-none-any.whl
(37.4 kB
view details)
File details
Details for the file musicdl-2.3.6.tar.gz
.
File metadata
- Download URL: musicdl-2.3.6.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.12.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83d363171b996548c1fb4e39bb15dd54da866f25023470ccd1f133c5f1770dd3 |
|
MD5 | d4671fafe26693e533c7705d32bed54e |
|
BLAKE2b-256 | 3326e554e19653d4c58557e5516566fb831cce0e2b08fac87435e17912216d8e |
File details
Details for the file musicdl-2.3.6-py3-none-any.whl
.
File metadata
- Download URL: musicdl-2.3.6-py3-none-any.whl
- Upload date:
- Size: 37.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.12.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e56e7093a9698e86080049e060381210c6f326a925188380e2c3e785a6fea8 |
|
MD5 | 836699d6744da10b758eab092faa13c1 |
|
BLAKE2b-256 | 5f3b5dbc586c1f83bafa207dc43bb9622bc4c3d031631f7749747bca432c23ed |