2020
10-09
10-09
基于Python实现下载网易音乐代码实例
代码如下#爬取网易音乐importrequestsfrombs4importBeautifulSoupimporturllib.requestheaders={"origin":"https://music.163.com","referer":"https://music.163.com/","user-agent":"Mozilla/5.0(WindowsNT10.0;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/75.0.3770.100Safari/537.36"}url="http://music.163.com/playlist?id=2182968685"response=requests.get(url,headers=h...
继续阅读 >