정태규

Merge branch 'feature/nate' into 'master'

Merge feature/nate

From feature/nate into master

See merge request !2
......@@ -7,14 +7,17 @@ var c = new Crawler({
console.log(error);
} else{
var $ = res.$;
console.log('nate 실시간 이슈 키워드');
let List = [];
List[0] = 'nate 실시간 이슈 키워드';
const $bodyList = $("ol.rankList").children("li.rl");
console.log('');
$bodyList.each(function(i, elem) {
console.log((i + 1) + ". " + $(this).find('span.kw').text().slice((i+1)/10 + 1));
List[i + 1] = ((i + 1) + ". " + $(this).find('span.kw').text().slice((i+1)/10 + 1));
});
console.log(List);
}
done();
}
......
This diff is collapsed. Click to expand it.
......@@ -6,10 +6,6 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"crawler": "^1.3.0"
}
"license": "ISC"
}
......