Skip to main content

Search and download music from netease, qq, kugou, baidu and xiami.

Project description

Music-dl: Listen to what you want

music-dl


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.

Python3 Only. Python 3.5+ Recommended.

English | 中文文档

Note: Some music sources may not be available in some countries and regions. If that happens, you could use Chinese proxies. See https://github.com/0xHJK/Proxies 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)

$ pip3 install pymusic-dl

Manual

$ git clone https://github.com/0xHJK/music-dl.git
$ cd music-dl
$ python3 setup.py install

Use directly

$ 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:

Supported sources

Music sources Abbreviation Websites
QQ Music qq https://y.qq.com/
Kugou Music kugou http://www.kugou.com/
Netease Music netease https://music.163.com/
Baidu Music baidu http://music.baidu.com/
Xiami Music xiami https://www.xiami.com/
Lossless Music From Baidu flac http://music.baidu.com/

Welcome to submit plugins to support more music sources! Refer to the files in extractors.

Credits

LICENSE

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymusic-dl-2.2.1.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

pymusic_dl-2.2.1-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file pymusic-dl-2.2.1.tar.gz.

File metadata

  • Download URL: pymusic-dl-2.2.1.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0

File hashes

Hashes for pymusic-dl-2.2.1.tar.gz
Algorithm Hash digest
SHA256 bb7b3c14a9d3678638a32f4b3adc5032205a4f52f4b6f792d591162fa18e3c25
MD5 b7dec15797599c55aed1b8300d023d8e
BLAKE2b-256 4d718b8a3c739d57c7c58aa7427662b1bf2b5d73ca470c3c92746a0d47122a7b

See more details on using hashes here.

File details

Details for the file pymusic_dl-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: pymusic_dl-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0

File hashes

Hashes for pymusic_dl-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6258d4e34f2662c14a67aff2ea0d906210dd75351a64a4fb7284319206f934c
MD5 8c40b73016c816dc9dfc27204091867c
BLAKE2b-256 5a1331c1f2c2ead2353404e72ba4ffc8f9288212094f693d56520c817d1a999a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page