Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -209,7 +209,7 @@ function handleEvent(event) { | ... | @@ -209,7 +209,7 @@ function handleEvent(event) { |
209 | text+=data.substring(0,data.indexOf("\\"))+" "; | 209 | text+=data.substring(0,data.indexOf("\\"))+" "; |
210 | } | 210 | } |
211 | text=text.substring(text.length/10+1,text.length/8+2); | 211 | text=text.substring(text.length/10+1,text.length/8+2); |
212 | - text.replace(' ',''); | 212 | + text=text.replace(' ','+'); |
213 | console.log(text); | 213 | console.log(text); |
214 | var url="https://www.genie.co.kr/search/searchLyrics?query="+text; | 214 | var url="https://www.genie.co.kr/search/searchLyrics?query="+text; |
215 | request(url, function(error, response, html) | 215 | request(url, function(error, response, html) | ... | ... |
-
Please register or login to post a comment