Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
은승우
2019-12-05 19:58:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
20d21254b8c11e1246ba6ed0959b70407b3c4094
20d21254
1 parent
70522602
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
app.js
app.js
View file @
20d2125
...
...
@@ -108,7 +108,7 @@ async function handleEvent(event) {
}
text
.
replace
(
'\n'
,
'
'
);
text
.
replace
(
'\n'
,
'
+
'
);
var
url
=
"https://www.genie.co.kr/search/searchLyrics?query="
+
encodeURI
(
text
);
request
(
url
,
function
(
error
,
response
,
html
){
var
$
=
cheerio
.
load
(
html
);
...
...
@@ -123,6 +123,7 @@ async function handleEvent(event) {
});
}
console
.
log
(
songList
);
})
var
result
=
''
;
for
(
var
i
=
0
;
i
<
songList
.
length
;
i
++
){
...
...
Please
register
or
login
to post a comment