代码部分
import requests
url='https://p1.music.126.net/ftSVaJ8KodF4X_QyBhBgGg==/109951170279308644.jpg?imageView&quality=89'
headers={
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
}
response=requests.get(url=url,headers=headers)
print(response)
with open('网易云01.jpg','wb') as f:
f.write(response.content)