Untitled - Posted on March Sat 6th 12:24 AM (Never Expires) - Format: python
  1. import requests
  2.  
  3. res_music = requests.get('https://c.y.qq.com/soso/fcgi-bin/client_search_cp?ct=24&qqmusic_ver=1298&new_json=1&remoteplace=txt.yqq.song&searchid=60997426243444153&t=0&aggr=1&cr=1&catZhida=1&lossless=0&flag_qc=0&p=1&n=20&w=%E5%91%A8%E6%9D%B0%E4%BC%A6&g_tk=5381&loginUin=0&hostUin=0&format=json&inCharset=utf8&outCharset=utf-8&notice=0&platform=yqq.json&needNewCode=0')
  4.  
  5. json_music = res_music.json()
  6.  
  7. list_music = json_music['data']['song']['list']
  8.  
  9. for music in list_music:
  10. # list_music是一个列表,music是它里面的元素
  11.     print(music['name'])

New Paste

Paste Options

Recent Pastes

4 days ago

Untitled

4 days ago

Untitled

38 days ago

Untitled

43 days ago

Untitled

43 days ago

Untitled

48 days ago

Hack_14578989

48 days ago

Hack_14578989

56 days ago

Untitled

59 days ago

Untitled

59 days ago

Untitled