Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xHJK/music-dl
search and download music 从网易云音乐、QQ音乐、酷狗音乐、百度音乐、虾米音乐、咪咕音乐等搜索和下载歌曲
https://github.com/0xHJK/music-dl
Last synced: about 1 month ago
JSON representation
search and download music 从网易云音乐、QQ音乐、酷狗音乐、百度音乐、虾米音乐、咪咕音乐等搜索和下载歌曲
- Host: GitHub
- URL: https://github.com/0xHJK/music-dl
- Owner: 0xHJK
- License: mit
- Created: 2019-01-08T07:20:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-03T03:37:13.000Z (6 months ago)
- Last Synced: 2024-10-29T11:10:25.128Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 5.61 MB
- Stars: 3,792
- Watchers: 77
- Forks: 545
- Open Issues: 42
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
- awesome - music-dl - search and download music 从网易云音乐、QQ音乐、酷狗音乐、百度音乐、虾米音乐等搜索和下载歌曲 (Python)
- awesome - 0xHJK/music-dl - search and download music 从网易云音乐、QQ音乐、酷狗音乐、百度音乐、虾米音乐、咪咕音乐等搜索和下载歌曲 (Python)
README
# Music-dl: Listen to what you want
**[Music-dl](https://github.com/0xHJK/music-dl)** is a command line tool which helps you search and download music from multiple sources.
Support for QQ music, Netease music, Xiami music, Kugou music and Baidu music. See [supported sources](#supported-sources).
**Python3 Only. Python 3.5+ Recommended.**
English | [中文文档](https://github.com/0xHJK/music-dl/blob/master/README.md)
> Note: Some music sources may not be available in some countries and regions. If that happens, you could use Chinese proxies. See for public proxies.
- Support for lossless music
- Search for high-quality music with priority ( flac -> 320K -> 128K )
- Support for HTTP and SOCKS proxy
- Support for multithreading searching
- Support for merging and sorting results
- Support keyword highlighting## Installation
Install using pip (Recommended)
```bash
$ pip3 install pymusic-dl
```Manual
```bash
$ git clone https://github.com/0xHJK/music-dl.git
$ cd music-dl
$ python3 setup.py install
```Use directly
```bash
$ git clone https://github.com/0xHJK/music-dl.git
$ cd music-dl
$ pip3 install -r requirements.txt
$ ./music-dl# OR python3 music-dl
```## Usage
```
$ music-dl --help
Usage: music-dl [OPTIONS]Search and download music from netease, qq, kugou, baidu and xiami.
Example: music-dl -k "Bruno Mars"Options:
--version Show the version and exit.
-k, --keyword TEXT Query keyword
-s, --source TEXT Support for qq netease kugou baidu xiami flac
-c, --count INTEGER Searching count limit (default: 5)
-o, --outdir TEXT Output dir (default: current dir)
-x, --proxy TEXT Set proxy (like http://127.0.0.1:1087)
-m, --merge Sort and merge
-v, --verbose Verbose mode
--help Show this message and exit.
```Example:
![](https://github.com/0xHJK/music-dl/raw/master/static/preview-en.png)
## Supported sources
| Music sources | Abbreviation | Websites |
| ------------------------- | ------------ | ------------------------- |
| QQ Music | qq | |
| Kugou Music | kugou | |
| Netease Music | netease | |
| Baidu Music | baidu | |
| Xiami Music | xiami | |
| Lossless Music From Baidu | flac | |Welcome to submit plugins to support more music sources! Refer to the files in `extractors`.
![](https://github.com/0xHJK/music-dl/raw/master/static/fork.png)
## Credits
-
-
-
-## LICENSE
[MIT License](https://github.com/0xHJK/music-dl/blob/master/LICENSE)