은승우

Update app.js

Showing 1 changed file with 1 additions and 0 deletions
......@@ -106,6 +106,7 @@ async function handleEvent(event) {
data=data.substring(data.indexOf('text\\')+9);
text+=data.substring(0,data.indexOf("\\"))+" ";
}
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);
......