码迷,mamicode.com
首页 > 其他好文 > 详细

网x易x云-xxxx

时间:2020-04-07 00:12:24      阅读:221      评论:0      收藏:0      [点我收藏+]

标签:and   resource   source   lap   ack   ace   bag   you   int   

获取歌词

import requests
import  json
res = requests.get("https://music.163.com/api/song/lyric?id=34152500&lv=1&kv=1&tv=-1")

s =  json.loads(res.text)
print(s[‘lrc‘][‘lyric‘])
[by:小陀螺Tony]
[00:00.99]Took that slap right in the face.
[00:04.77]You said, "No more time to explain."
[00:08.75]So many things we‘ve done together.
[00:12.52]I was thinking there was no better.
[00:16.25]You say, "No way. Take your bags and go away."
[00:24.27]And I say, "I just want to stay.
[00:27.56]
[00:30.01]Take me back again."
[00:32.13]
[00:37.84]Take me back again.
[00:39.61]
[00:45.49]Take me back again.
[00:47.46]
[00:48.26]You say, "No way. Take your bags and go away."
[00:55.52]And I say, "I just want to stay.
[01:01.23]Take me back again."
[01:03.21]
[01:32.25]Take me back again.
[01:33.88]
[02:05.60]You say, "No way. Take your bags and go away."
[02:12.62]And I say, "I just want to stay.
[02:17.44]
[02:18.48]Take me back again."
[02:20.74]
[02:22.35]Take me back again.
[02:25.35]
[02:26.17]Take me back again.
[02:28.32]
[02:29.86]Take me back again.
[02:34.36]
[02:49.65]Take me back again.
[02:52.16]
[03:05.10]Take me back again.
[03:07.33]
[03:38.88]


https://www.cnblogs.com/weixuqin/p/8905867.html
https://www.zhihu.com/question/36081767
http://music.163.com/api/v1/resource/comments/R_SO_4_516997458

网x易x云-xxxx

标签:and   resource   source   lap   ack   ace   bag   you   int   

原文地址:https://www.cnblogs.com/g2thend/p/12650210.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!