김지훈

Delete : no use part

this crawler doesn’t work.
...@@ -59,23 +59,5 @@ router.get('/', function(req, res, next) { ...@@ -59,23 +59,5 @@ router.get('/', function(req, res, next) {
59 59
60 }); 60 });
61 61
62 -// 다른 요약기에 비해 얼마나 성능 향상이 있었는지 확인하기 위함.
63 -router.get('/read', function(req, res, next) {
64 - read('http://news.naver.com/main/read.nhn?mode=LSD&mid=shm&sid1=104&sid2=232&oid=421&aid=0002379859', function(err, article, meta) {
65 -
66 - // Title
67 - console.log(article.title);
68 - // Main Article
69 - console.log(article.content);
70 -
71 - res.json({
72 - title : article.title,
73 - content : article.content
74 - }, function(){
75 - // Close article to clean up jsdom and prevent leaks
76 - article.close();
77 - });
78 -});
79 -});
80 62
81 module.exports = router; 63 module.exports = router;
......