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