Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -105,8 +105,9 @@ async function handleEvent(event) { | ... | @@ -105,8 +105,9 @@ async function handleEvent(event) { |
105 | { | 105 | { |
106 | jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text\\')+9); | 106 | jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text\\')+9); |
107 | text+=jsonResponse.substring(0,jsonResponse.indexOf("\\"))+" "; | 107 | text+=jsonResponse.substring(0,jsonResponse.indexOf("\\"))+" "; |
108 | + console.log("text:"+text); | ||
109 | + | ||
108 | } | 110 | } |
109 | - console.log("text:"+text); | ||
110 | var url="https://www.genie.co.kr/search/searchLyrics?query="+ encodeURI(text); | 111 | var url="https://www.genie.co.kr/search/searchLyrics?query="+ encodeURI(text); |
111 | console.log(url); | 112 | console.log(url); |
112 | request(url, function(error, response, html){ | 113 | request(url, function(error, response, html){ | ... | ... |
-
Please register or login to post a comment