update
This commit is contained in:
@@ -76,6 +76,8 @@ async function fetch({ songId, debug = false }) {
|
||||
let songInfoDict = JSON.parse(songInfoJSONString);
|
||||
// console.log(songInfoDict);
|
||||
|
||||
// TODO 考虑歌曲别名 例如:https://music.163.com/#/song?id=26830207
|
||||
|
||||
let title = /<meta property="og:title" content="(.*?)" \/>/.exec(html)[1];
|
||||
let image = /<meta property="og:image" content="http:\/\/p.\.music\.126\.net\/(.*?)" \/>/.exec(html)[1];
|
||||
let artist = /<meta property="og:music:artist" content="(.*?)" \/>/.exec(html)[1];
|
||||
|
Reference in New Issue
Block a user