@@ -229,14 +229,12 @@ app.post('/lyric', async (req, res) => {
for (const result of (await (await fetch(ncmAPIUrl + `/cloudsearch?keywords=${name}%20${artist}%20${album}`)).json()).result.songs) {
if(result.name === await convertert2s.convertPromise(name) ){
id = result.id
- console.log(id)
break;
}
let lyric = await (await fetch(ncmAPIUrl + `/lyric?id=${id}`)).json()
let ifTrans = false;
- console.log(lyric)
try{
if (lyric.tlyric.lyric !== '') {
ifTrans = true;