은승우

Update app.js

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