USE AT YOUR OWN RISK. NOT RESPONSIBLE FOR ANYTHING THAT THIS PROGRAM DOES. PERSONAL USE ONLY. NO COMMERCIAL USE.
This is a fork of @Kito0615's NetEaseMusicDownloader with some fixes and mods.
Q: What is this?
A: A working downloader to get stuff from NetEase (music.163.com). Edited from https://github.com/Kito0615/NetEaseMusicDownloader. THIS IS A SELF STUDY PROJECT, NO WARRANTY OR ANY SUPPORT WILL BE GIVEN.
Q: How do I use it?
A:
- Clone (download) this repo and extract to somewhere.
- Make sure you have Python 3+ with requests + pycryptodome installed (run "pip3 install requests" and "pip3 install pycryptodome" AFTER you install Python 3) NOTE: If you run into "ModuleNotFoundError: No module named 'Crypto'", follow the instructions here: https://stackoverflow.com/a/58613670
- Install Lame (from the exe provided), make sure you install it in C:\Windows\System32 (WARNING: MUST HAVE ADMIN ACCESS).
- Follow the original usage instructions below, but basically run: "python3.8.exe ./NetEaseMusic.py URL_TO_SONG" (example setup: Windows 10, Python 3.8 installed from Windows Store, cd to .\Downloads\NetEaseMusicDownloader-master)
Q: I got a problem!
A: Sorry, no support will be given.
All credits to the original devs, I only fixed some errors and stabilized some stuff.
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.
- Fix code.
- Localization
-
**New version of Downloader.**Add some options for the script.
-
Usage :
python3 NetEaseMusic.py
[OPTIONS]
URL
orNetEaseMusic
[OPTIONS]
URL
-
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.
- Add Lame Tag for iTunes.
- Now offcial web api failed, still using thrid-part API from AD. I will fix this ASAP.
- Add API from official website crack.
- Add song best bit rate detect.
- Add ask for "Add to iTunes automatically".
- Fixed break down when file exists or search in QQMusic failed.
- Use new non-offcial api which get from the web replaced the old api.
- Now you can use this tool to download songs/playlists/albums. Use AD's API.
- Support windows now.
- Support NetEaseMusic MV download now.
- Add new source from QQMusic when the song not available with NetEaseMusic.
- Add new dependencies FFMPEG for convert source from QQMusic with .m4a extension to .mp3.
-
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
-
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
Check Update:2018-09-06
Python3.0+ (with requests installed.)
lame (use this lib to add Cover for audio.) Here is some instructions.