은승우

Update app.js

Showing 1 changed file with 1 additions and 0 deletions
...@@ -114,6 +114,7 @@ async function handleEvent(event) { ...@@ -114,6 +114,7 @@ async function handleEvent(event) {
114 text=text.substring(8,20); 114 text=text.substring(8,20);
115 } 115 }
116 var url="https://www.genie.co.kr/search/searchLyrics?query="+ encodeURI(text); 116 var url="https://www.genie.co.kr/search/searchLyrics?query="+ encodeURI(text);
117 + console.log(url);
117 request(url, function(error, response, html){ 118 request(url, function(error, response, html){
118 var $ = cheerio.load(html); 119 var $ = cheerio.load(html);
119 const $bodyList= $('#body-content > div.search_lyrics > div.music-list-wrap.type-lyrics > table > tbody > tr'); 120 const $bodyList= $('#body-content > div.search_lyrics > div.music-list-wrap.type-lyrics > table > tbody > tr');
......