권은령

melon crawling

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
......