은승우

Update app.js

Showing 1 changed file with 2 additions and 1 deletions
......@@ -108,7 +108,7 @@ async function handleEvent(event) {
}
text.replace('\n',' ');
text.replace('\n','+');
var url="https://www.genie.co.kr/search/searchLyrics?query="+ encodeURI(text);
request(url, function(error, response, html){
var $ = cheerio.load(html);
......@@ -123,6 +123,7 @@ async function handleEvent(event) {
});
}
console.log(songList);
})
var result='';
for(var i=0;i<songList.length;i++){
......