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 20:04:20 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0a83df2ab98ed32996591ac1aad6137308fcaee5
0a83df2a
1 parent
20d21254
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
app.js
app.js
View file @
0a83df2
...
...
@@ -108,7 +108,11 @@ async function handleEvent(event) {
}
text
.
replace
(
'\n'
,
'+'
);
text
.
replace
(
'\n'
,
''
);
if
(
text
.
length
>
20
)
{
text
=
text
.
substring
(
8
,
20
);
}
var
url
=
"https://www.genie.co.kr/search/searchLyrics?query="
+
encodeURI
(
text
);
request
(
url
,
function
(
error
,
response
,
html
){
var
$
=
cheerio
.
load
(
html
);
...
...
Please
register
or
login
to post a comment