atlas-comstock / NeteaseCloudMusicFlac

根据网易云音乐的歌单, 下载flac无损音乐到本地. Download the FLAC music from Internet according to your NeteaseCloudMusic playlist.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

百度会员和抓取网易云音乐貌似没有关系吧

xavieryang007 opened this issue · comments

image

如题

commented

Using Baidu Music API to query and download songs.

def get_song_info(songid):
    BAIDU_MUSIC_API = "http://music.baidu.com/data/music/fmlink"
    payload = {'songIds': songid, 'type': 'flac'}
    r = requests.get(BAIDU_MUSIC_API, params=payload)
    contents = r.text
return json.loads(contents, encoding="utf-8")

@xavieryang007 如上 @Inokinoki 同学所示 ,偷偷的知道就好。🌚