搜索你需要的歌名或者歌曲
抓取对应的数据包
提取json数据里的歌曲名字,歌曲的mid,歌手名字
for i in range(1, 10):
url = ‘https://c.y.qq.com/soso/fcgi-bin/client_search_cp’
params = {
“ct”: " 24",
“qqmusic_ver”: " 1298",
“new_json”: " 1",
“remoteplace”: " txt.yqq.song",
“searchid”: " 66595602585102401",
“t”: " 0",
“aggr”: " 1",
“cr”: " 1",
“catZhida”: " 1",
“lossless”: " 0",
“flag_qc”: " 0",
“p”: str(i),
“n”: " 10",
“w”: keyword,
“g_tk_new_20200303”: " 1390029147&#