
【已解決】怎么提取js里面的指定字符最后由 a6513375 于 -3-11 17:25我弄了個下載網易云音樂的批處理,在獲取歌詞的時候獲取到了json
- {songStatus:3,lyricVersion:6,lyric:[by:Trap_Girl]n[00:00.40]And every single yearn[00:02.59]I'm drowning in my tearsn[00:05.65]I'm drowning in my tears againn[00:11.71]I can't seem to forget the pain I seem to given[00:17.33]The pain I seem to give my friendn[00:23.31]And every single yearn[00:26.44]I'm drowning in my tearsn[00:29.50]I'm drowning in my tears againn[00:34.64]I can't seem to forget the pain I seem to given[00:41.48]The pain I seem to give my friendn[00:46.00]n[00:47.08]Oh ohn[00:50.17]Oh ohn[00:52.35]Oh ohn[00:55.01]Ho ohn[00:58.15]Ho ohn[01:01.13]Ho ohn[01:04.18]Woah ohn[01:07.16]Ho ohn[01:09.61]Woah ohn[01:11.09]Woah ohn[01:12.79]n[01:23.59]And every single yearn[01:26.34]I'm drowning in my tearsn[01:29.37]I'm drowning in my tears againn[01:34.96]I can't seem to forget the pain I seem to given[01:41.39]The pain I seem to give my friend (Woah oh)n[01:47.98]And every single yearn[01:50.32]I'm drowning in my tears (Woah oh)n[01:53.44]I'm drowning in my tears again (Woah oh)n[01:58.74]Woah ohn[02:00.14]I can't seem to forget the pain I seem to give(Woah oh)n[02:05.85]The pain I seem to give my friend (Woah oh Woah oh)n[02:12.36]n[02:35.48]And every single yearn[02:38.30]I'm drowning in my tearsn[02:41.32]I'm drowning in my tears againn[02:47.46]I can't seem to forget the pain I seem to given[02:53.75]The pain I seem to give my friendn[02:59.21]Woah oh,code:200}
nclick="copycode($('code0'));">復制代碼
我想獲取lyric項的內容 就是歌詞我用本站的解析器http://www.bathome.net/viewthread.php?tid=34073&highlight=json但是解析不出來 如果解析出來就是字符丟失有人會嗎...