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-02 21:47:17 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e9ef7fe4c2f52ef38896b1fe82bbb72afb1aa7de
e9ef7fe4
1 parent
18f783c0
melon crawling
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
mymusic.js
mymusic.js
View file @
e9ef7fe
var
cheerio
=
require
(
"cheerio"
)
var
request
=
require
(
"request"
)
var
cheerio
=
require
(
'cheerio'
);
var
request
=
require
(
'request'
);
var
url
=
"http://www.melcon.com/chart/"
;
request
(
url
,
function
(
error
,
response
,
html
)
{
const
$
=
cheerio
.
load
(
html
)
var
$
=
cheerio
.
load
(
html
);
var
arr
=
$
(
'.ellipsis rank01'
);
console
.
log
(
arr
[
0
].
children
[
0
].
attribs
.
title
);
})
})
\ No newline at end of file
...
...
Please
register
or
login
to post a comment