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:36:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dfcd923b71a502ee2a7b0d6591a86c0e960dba8e
dfcd923b
1 parent
43f02040
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app.js
app.js
View file @
dfcd923
...
...
@@ -103,8 +103,8 @@ async function handleEvent(event) {
var
text
=
''
;
while
(
jsonResponse
.
indexOf
(
'text\\'
)
!=-
1
)
{
data
=
data
.
substring
(
data
.
indexOf
(
'text\\'
)
+
9
);
text
+=
data
.
substring
(
0
,
data
.
indexOf
(
"\\"
))
+
" "
;
jsonResponse
=
jsonResponse
.
substring
(
data
.
indexOf
(
'text\\'
)
+
9
);
text
+=
jsonResponse
.
substring
(
0
,
jsonResponse
.
indexOf
(
"\\"
))
+
" "
;
}
console
.
log
(
"text:"
+
text
);
var
url
=
"https://www.genie.co.kr/search/searchLyrics?query="
+
encodeURI
(
text
);
...
...
Please
register
or
login
to post a comment