Skip to content

Kito0615/NetEaseMusicDownloader

Repository files navigation

NetEaseMusicDownloader

中文说明

NOTE: In this script, I used some api via AD's API. Thanks. This script is for personal use only. It cannot be used for any commercial activities. All legal issues are not related to the author.

NOTE: With new source from QQMusic added, the source API is get from ite webpage, all right revserved by QQMusic. This was only for study.

NOTE: Third part API server is outdated. Now this project will not be useful. If you want to use this project, you can check this NetEaseCloudMusicApi project and modify api requests in this project.

Update: 2019-06-6

  1. Fix code.
  2. Localization

Update:2018-09-06

  1. **New version of Downloader.**Add some options for the script.

  2. Usage : python3 NetEaseMusic.py [OPTIONS] URL or NetEaseMusic [OPTIONS] URL

  3. Option List:

    Option Instruction
    -h, --help Show help message.
    -s, --single Specific the URL is a single music.
    -l, --list Specific the URL is a list.
    -v, --video Specific the URL is a music video.
    -r, --range RANGE Specific to download the music in RANGE.
    RANGE format like '1, 2, 5-7, 18'
    -a, --auto Add to iTunes Library automatically.
    -f, --folder Specific the destination folder.

Update:2018-08-09

  1. Add Lame Tag for iTunes.
  2. Now offcial web api failed, still using thrid-part API from AD. I will fix this ASAP.

Update: 2018-07-17

  1. Add API from official website crack.
  2. Add song best bit rate detect.

Update: 2018-06-14

  1. Add ask for "Add to iTunes automatically".
  2. Fixed break down when file exists or search in QQMusic failed.

Update:2018-05-28

  1. Use new non-offcial api which get from the web replaced the old api.

Update:2018-05-22:

  1. Now you can use this tool to download songs/playlists/albums. Use AD's API.
  2. Support windows now.
  3. Support NetEaseMusic MV download now.

Update:2018-05-17

  1. Add new source from QQMusic when the song not available with NetEaseMusic.
  2. Add new dependencies FFMPEG for convert source from QQMusic with .m4a extension to .mp3.

Download:

  1. Clone project

    git clone https://github.com/Kito0615/NetEaseMusic.git	

    Then you can run script(NetEaseMusic.py) in terminal with python3. Like:

    python3 NetEaseMusic.py

    or:

    chmod +x NetEaseMusic.py
    ./NetEaseMusic.py
  2. Download release

    Click here, download the version you need. Then you can run the binary file in terminal like:

    ./NetEaseMusic

    or copy the binary to /usr/local/bin, then you can execute the binary anywhere you want.

    copy NetEaseMusic /usr/local/bin
    NetEaseMusic

Usage:

​ Check Update:2018-09-06

Envrionment:

Python3.0+ (with requests installed.)

lame (use this lib to add Cover for audio.) Here is some instructions.

Homebrew

License

FFMPEG