First, open the site you need to download the song, the song search target, then go audition
Right-click the View element to find loads a flash plug-in location
Double-click the src = "" in the url, copy down the ok
from urllib import request
# 刚才复制的url放在这里
api="http://fs.w.kugou.com/201903281113/775fe3d7139e7c859a427268f56e3470/G083/M09/03/0F/kw0DAFggQruAHHzNADLKHpoVYyI896.mp3"
path = 'H://KuGou//烤面筋-面筋哥.mp4'
request.urlretrieve(api, path)
print('下载完成')
After running this code will be able to see the .mp4 file downloaded in the specified location