python automatically download high-quality lossless songs

Copyright: Original article reproduced please indicate the source. https://blog.csdn.net/samll_snail/article/details/90257441

 

I do not know there is no such feeling, hear some good songs, songs always want to download to your computer or mobile phone just feel at ease, especially in the early years of smart phones have not so popular, like songs that are not will not feel safe on their own computer.

 

Although the songs are basically listen online, download songs to the local consciousness more and more light, but for some high-quality lossless music, they are still have the urge to want to download, so today we have to use python to solve a solution Download this complex.

 

I do not know what songs are usually APP, my most commonly used is the NetEase cloud music, is just beginning its personalized recommendation algorithm pink circle, are recommended their favorite songs, but because of copyright issues, there are always some songs QQ have to go listen to music.

 

Before writing this article, I meant to write himself a python script to download songs, but the search go on GitHub and found there are many ready-made, and well written, so I picked a simple and efficient script recommend it to everyone, here is GitHub address.

 

https://github.com/YongHaoWu/NeteaseCloudMusicFlac

 

No. Because the public can not click the link in the jump, too inconvenient friends can go backstage reply keyword [ Netease cloud music ], there may be obtained by clicking the link jump directly.

 

I have here a brief introduction to this script, which can be automatically downloaded to all the songs given in a single song, pay attention here to download the song file suffix flac, which is a lossless music formats, and this file format often relatively large I watched the first two minutes of the next song has a size of about 16 M.

 

Use the following command to run the script, behind this argument is that NetEase cloud music song single link you want to download, because the default is to download flac lossless music format, while if you want to download songs in mp3 format, and then in the back --mp3 can add a parameter.

 

python main.py https://music.163.com/#/playlist?id=2788012762

 

Guess you like

Origin blog.csdn.net/samll_snail/article/details/90257441