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-04 23:37:11 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aab5ea333b2bd8e5bf6dfdcf653a7ca6b4825a25
aab5ea33
1 parent
e4635191
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 @
aab5ea3
...
...
@@ -122,6 +122,8 @@ function handleEvent(event)
{
// music list 출력
return
new
Promise
(
function
(
resolve
,
reject
){
var
result
=
{
type
:
'text'
,
text
:
''
};
var
url
=
"https://www.genie.co.kr/chart/top200"
;
request
(
url
,
function
(
error
,
response
,
html
){
...
...
@@ -146,7 +148,6 @@ function handleEvent(event)
}
});
var
result
=
{
type
:
'text'
,
text
:
''
};
for
(
var
i
=
0
;
i
<
songList
.
length
;
i
++
)
{
result
.
text
+=
i
+
1
+
". "
+
songList
[
i
].
singer
+
" - "
+
songList
[
i
].
song
+
"\n"
;
...
...
Please
register
or
login
to post a comment