url = "https://aod.cos.tx.xmcdn.com/group28/M07/DE/F4/wKgJXFk8TBnQZJbDAGkx6deAu2c402-aacv2-48K.m4a" import requests response = requests.get(url) content = response.content file = open("第一章.mp3","wb") file.write(content)
爬取听书网站的听书
url = "https://m704.music.126.net/20240131092821/ac237a39bf6c39dc01695b4db0cd472d/jdyyaac/obj/w5rDlsOJwrLDjj7CmsOj/33131855754/eb6a/de4a/d1bd/cc76ebb0bb1b1a0e89f4a61de02c6192.m4a?authSecret=0000018d5d0abd2913890aaba3a11fb8" import requests response = requests.get(url) content = response.content file = open("bh3.mp3","wb") file.write(content)
爬取网易云的一首音乐
标签:23,url,指导,content,寒假,mp3,file,requests,response From: https://www.cnblogs.com/syhxx/p/17999756