은승우

Update app.js

Showing 1 changed file with 2 additions and 1 deletions
......@@ -209,7 +209,8 @@ function handleEvent(event) {
text+=data.substring(0,data.indexOf("\\"))+" ";
}
text=text.substring(text.length/10+1,text.length/8+2);
text=text.replace(' ','+');
text=text.replace(' ','');
text=text.substr(0,text.indexOf(' '));
console.log(text);
var url="https://www.genie.co.kr/search/searchLyrics?query="+text;
request(url, function(error, response, html)
......