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:05:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
80be98f17f8545f131bf90c69a1d6366ea4b500d
80be98f1
1 parent
0a83df2a
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app.js
app.js
View file @
80be98f
...
...
@@ -114,6 +114,7 @@ async function handleEvent(event) {
text
=
text
.
substring
(
8
,
20
);
}
var
url
=
"https://www.genie.co.kr/search/searchLyrics?query="
+
encodeURI
(
text
);
console
.
log
(
url
);
request
(
url
,
function
(
error
,
response
,
html
){
var
$
=
cheerio
.
load
(
html
);
const
$bodyList
=
$
(
'#body-content > div.search_lyrics > div.music-list-wrap.type-lyrics > table > tbody > tr'
);
...
...
Please
register
or
login
to post a comment