Use Python to get a lossless audio tutorial on NetEase cloud Music

Source: Internet
Author: User

Blog Park home:http://www.cnblogs.com/handoing/

GitHub project:https://github.com/handoing/get-163-music

Environment: Python 2.7.10

1. First Clone our project:

Project directory:

Getmusic.py is the one we need to use.

2. Now we feel free to visit a song of NetEase cloud Music,

The ID in the address bar is what we need, the example ID is 495132141

3. If you do not have a requests library locally, you need to install it first:

Go to the project directory, execute python getmusic.py {ID},

The script will automatically download the song list in FLAC format song:

4. At this point you will find our project directory more than a songs folder, which is the downloaded FLAC format file:

Note: If the command line appears do not has the FLAC typeface stating that there is no FLAC lossless audio corresponding to the song.

5. ...

Let's take the headset and listen to it!??????

Conclusion:

A small case, different songs may appear some bugs, until I break the force of the time to repair!

Find the problem here to feedback it:https://github.com/handoing/get-163-music/issues

Use Python to get a lossless audio tutorial on NetEase cloud Music

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.