SW0000J

gitignore 추가

.vscode
node_modules
\ No newline at end of file
const axios = require("axios");
const cheerio = require("cheerio");
var express = require('express');
var path = require('path');
var bodyParser = require('body-parser');
var indexRouter = require('./routes/index');
var ncRouter = require('./routes/nc');
var lgRouter = require('./routes/lg');
var doosanRouter = require('./routes/doosan');
var kiwoomRouter = require('./routes/kiwoom');
var kiaRouter = require('./routes/kia');
var lotteRouter = require('./routes/lotte');
var samsungRouter = require('./routes/samsung');
var ktRouter = require('./routes/kt');
var skRouter = require('./routes/sk');
var hanwhaRouter = require('./routes/hanwha');
const url = "https://www.yna.co.kr/sports/baseball"
//var request = require('request');
//var fs = require('fs');
//var ejs = require('ejs');
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
var app = express();
const PORT = 80;
getHtml()
.then(html => {
let ulList = [];
const $ = cheerio.load(html.data);
const $bodyList = $("div.list-type038 ul.list li").children("div.item-box01");
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'ejs');
$bodyList.each(function(i, elem) {
ulList[i] = {
datetime: $(this).find('span.txt-time').text(),
image_url: $(this).find('figure.img-con a').attr('href'),
url: $(this).find('div.news-con a').attr('href'),
title: $(this).find('div.news-con strong').text(),
summary: $(this).find('div.news-con p').text()
};
//console.log(ulList[i]) // list object checking code
});
app.use(express.static(path.join(__dirname, 'public')));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(res => console.log(res));
\ No newline at end of file
app.use('/', indexRouter);
app.use('/nc', ncRouter);
app.use('/lg', lgRouter);
app.use('/doosan', doosanRouter);
app.use('/kiwoom', kiwoomRouter);
app.use('/kia', kiaRouter);
app.use('/lotte', lotteRouter);
app.use('/samsung', samsungRouter);
app.use('/kt', ktRouter);
app.use('/sk', skRouter);
app.use('/hanwha', hanwhaRouter);
app.listen(PORT, function(){
console.log('Code run in https://localhost:'+PORT+'\n');
});
......
const axios = require("axios");
const cheerio = require("cheerio");
const url = "http://news.chosun.com/svc/list_in/list.html?catid=82"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getChosun = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("div.list_body > div.list_content").children("dl.list_item");
$bodyList.each(function(i, elem) {
ulList[i] = {
url: $(this).find('dd.thumb > a').attr('href'),
image_url: $(this).find('dd.thumb a > img').attr('src'),
title: $(this).find('dt > a').text(),
summary: $(this).find('dd.desc').text(),//.slice(1, -2),
datetime: $(this).find('dd.date_author > span.date').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getChosun;
const axios = require("axios"); // 웹 서버 요청 모듈
const cheerio = require("cheerio"); // Load한 것을 jQuery처럼 사용
const url = "http://isplus.live.joins.com/news/list/list.asp?page=1"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getIsplus1 = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("div.news_list > div.bd > ul").children("li");
$bodyList.each(function(i, elem) {
ulList[i] = {
url: $(this).find('dl > dd.photo > a').attr('href'),
image_url: $(this).find('dl > dd.photo > a > img').attr('src'),
title: $(this).find('dl > dt > a').text(),
summary: $(this).find('dl > dd > a').text(),
datetime: $(this).find('dl > dd > span.date').text() + " " + $(this).find('dl > dd > span.time').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getIsplus1;
const axios = require("axios"); // 웹 서버 요청 모듈
const cheerio = require("cheerio"); // Load한 것을 jQuery처럼 사용
const url = "http://isplus.live.joins.com/news/list/list.asp?page=2"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getIsplus2 = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("div.news_list > div.bd > ul").children("li");
$bodyList.each(function(i, elem) {
ulList[i] = {
url: $(this).find('dl > dd.photo > a').attr('href'),
image_url: $(this).find('dl > dd.photo > a > img').attr('src'),
title: $(this).find('dl > dt > a').text(),
summary: $(this).find('dl > dd > a').text(),
datetime: $(this).find('dl > dd > span.date').text() + " " + $(this).find('dl > dd > span.time').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getIsplus2;
const axios = require("axios"); // 웹 서버 요청 모듈
const cheerio = require("cheerio"); // Load한 것을 jQuery처럼 사용
const url = "http://isplus.live.joins.com/news/list/list.asp?page=3"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getIsplus3 = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("div.news_list > div.bd > ul").children("li");
$bodyList.each(function(i, elem) {
ulList[i] = {
url: $(this).find('dl > dd.photo > a').attr('href'),
image_url: $(this).find('dl > dd.photo > a > img').attr('src'),
title: $(this).find('dl > dt > a').text(),
summary: $(this).find('dl > dd > a').text(),
datetime: $(this).find('dl > dd > span.date').text() + " " + $(this).find('dl > dd > span.time').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getIsplus3;
const axios = require("axios"); // 웹 서버 요청 모듈
const cheerio = require("cheerio"); // Load한 것을 jQuery처럼 사용
const url = "http://isplus.live.joins.com/news/list/list.asp?page=4"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getIsplus4 = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("div.news_list > div.bd > ul").children("li");
$bodyList.each(function(i, elem) {
ulList[i] = {
url: $(this).find('dl > dd.photo > a').attr('href'),
image_url: $(this).find('dl > dd.photo > a > img').attr('src'),
title: $(this).find('dl > dt > a').text(),
summary: $(this).find('dl > dd > a').text(),
datetime: $(this).find('dl > dd > span.date').text() + " " + $(this).find('dl > dd > span.time').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getIsplus4;
const axios = require("axios"); // 웹 서버 요청 모듈
const cheerio = require("cheerio"); // Load한 것을 jQuery처럼 사용
const url = "http://www.xportsnews.com/?ac=article_list&cate_indexno=12"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getXports = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("ul.list_news > li");//.children("");
$bodyList.each(function(i, elem) {
ulList[i] = {
url: 'http://www.xportsnews.com' + $(this).find('div.thumb > a').attr('href'),
image_url: $(this).find('div.thumb > a > img').attr('src'),
title: $(this).find('dl.dlist > dt > a').text(),
summary: $(this).find('dd').text(),
datetime: $(this).find('dd > span.data').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getXports;
const axios = require("axios");
const cheerio = require("cheerio");
const url = "https://www.yna.co.kr/sports/baseball"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getYna = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("div.list-type038 ul.list li").children("div.item-box01");
$bodyList.each(function(i, elem) {
ulList[i] = {
datetime: $(this).find('span.txt-time').text(),
image_url: $(this).find('figure.img-con a img').attr('src'),
url: $(this).find('div.news-con a').attr('href'),
title: $(this).find('div.news-con strong').text(),
summary: $(this).find('div.news-con p').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getYna;
const axios = require("axios");
const cheerio = require("cheerio");
const url = "https://news.zum.com/issuelist/58654445"
const getHtml = async () => {
try {
return await axios.get(url);
} catch (error) {
console.error(error);
}
};
const getZum = async () => {
return new Promise((resolve, reject) => {
getHtml()
.then(html => {
let ulList = [];
//console.log(html.data);
const $ = cheerio.load(html.data);
const $bodyList = $("div.major_news > ul").children("ul.no_reply > li.large");
$bodyList.each(function(i, elem) {
ulList[i] = {
url: '//news.zum.com' + $(this).find('div.img > a').attr('href'),
image_url: $(this).find('div.img > a > img').attr('src'),
title: $(this).find('div.txt > div.title > a').text(),
summary: $(this).find('div.txt > div.content > a').text(),//.slice(0, -29)
datetime: $(this).find('div.txt > div.content > span.etc').text()
};
//console.log(ulList[i]) // list object checking code
});
const data = ulList.filter(n => n.title);
return data;
//return ulList;
}).then(data => {
resolve(data);
});
});
};
module.exports = getZum;
/* =============== ##공통 (common) ======================== */
html,body{height:auto;}
body{font-weight:normal;font-family:'맑은 고딕','Malgun Gothic',AppleSDGothicNeo-Regular,Arial,Helvetica,sans-serif;letter-spacing:-1px;}
h1,h2,h3,h4,h5,h6{font-weight:normal;font-family:'맑은 고딕','Malgun Gothic',AppleSDGothicNeo-Regular,Arial,Helvetica,sans-serif;}
p,li,dt,dd,span,strong,em,b,input,button,select,textarea,label,a{font-weight:normal;font-family:'맑은 고딕','Malgun Gothic',AppleSDGothicNeo-Regular,Arial,Helvetica,sans-serif;}
a{display:inline-block;vertical-align:top;}
h1,h2,h3,h4,h5,h6{margin:200;padding:200;font:inherit;font-weight:bold;}
img{display:inline-block;border:0 none;vertical-align:top;}
cite,code,dfn,del,em,ins,label,q,span,strong,b,i,time,mark,font,kbd,q,s,samp,small,strike,sub,sup,tt,var,u,center{display:inline-block;margin:0;padding:0;vertical-align:top;font:inherit;}
address,cite,em,dfn{font:inherit;}
b,i,strong,optgroup{font:inherit;font-weight:bold;}
div,article,aside,main,menu,details,figure,figcaption,hgroup,footer,header,nav,section,object,summary,iframe{display:block;margin:0;padding:0;font:inherit;}
/* =============== ##레이아웃 (layout) ======================== */
body:not(.body-popup-win){min-width:1130px;}
body.page-main,
body.body-wide1300{min-width:1320px;}
html,body{width:100%;height:100%;margin:0;padding:0;}
body{font-weight:normal;font-size:1em;line-height:1.5em;font-family:sans-serif;color:#000;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;}
/* list */
dl,dd,ol,ul,li{margin:0;padding:0;}
li{list-style-type:none;}
/* link */
a{font:inherit;color:inherit;text-decoration:none;cursor:pointer;}
a{background-color:transparent;}
a:link,
a:visited,
a:active,
a:focus{color:inherit;}
/* 공통 */
[class*='title-type']{position:relative;display:inline-block;box-sizing:border-box;vertical-align:bottom;} /* height:36px; */
[class*='title-type'] [class*='tit'],
[class*='title-type'] [class*='txt']{vertical-align:bottom;}
[class*='title-type'] [class*='tit']{position:relative;box-sizing:border-box;}
[class*='title-type'] .tit{font-size:18px;line-height:22px;}
[class*='title-type'].bold .tit{font-weight:bold;}
[class*='title-type'] .txt{margin-left:6px;color:#666;font-size:10px;line-height:12px;letter-spacing:0;}
[class*='title-type'] .tit+.txt{margin-left:20px;}
/* =============== List type ======================== */
[class*='list-type']{font-size:0;line-height:1;}
[class*='list-type'] [class*='item']{position:relative;}
[class*='list-type'] [class*='item']:after{content:'';display:block;clear:both;}
[class*='list-type'] .img-con .img{overflow:hidden;position:relative;} /* background-color:#ccc; */
[class*='list-type'] .img-con .img img{width:100%;height:auto;}
[class*='list-type'] .img-con .label-box01{position:absolute;bottom:0;right:0;min-width:50px;height:35px;box-sizing:border-box;padding:8px 8px 7px;background-color:#fff;text-align:center;vertical-align:middle;}
/* basic */
.hidden-obj{position:absolute;visibility:hidden;top:-9999px;left:-9999px;}
.blind{overflow:hidden;visibility:hidden;position:absolute;top:0;left:0;width:0;height:0;padding:0;font-size:0;line-height:0;}
.display-none{display:none;}
/* title-type04 */
.title-type04[class*='arr'] .tit{padding-right:20px;}
.title-type04 .tit{font-size:40px;line-height:40px;}
.img-cover{overflow:hidden;}
/* list-type038 */
.list-type038 .list{border-top:1px solid #e5e5e5;}
.list-type038 [class*='item-box']{}
.list-type038 .item-box01{display:table;width:100%;border-bottom:1px solid #e5e5e5;}
.list-type038 .item-box01>.img-con,
.list-type038 .item-box01>.news-con,
.list-type038 .item-box01>[class*='info-box']{display:table-cell;padding:30px 0;vertical-align:top;}
.list-type038 .img-con{width:180px;}
.list-type038 .img-con .img{width:170px;height:110px;}
.list-type038 .news-con{max-height:110px;}
.list-type038 .tit-news{font-weight:bold;font-size:18px;line-height:24px;}
.list-type038 .tit-wrap:hover .tit-news{text-decoration:underline;}
.list-type038 .lead{overflow:hidden;max-height:48px;margin-top:12px;color:#666;font-size:14px;line-height:24px;}
.list-type038 .lead:empty{display:none;}
.list-type038 .info-box01{width:110px;}
.list-type038 .info-box01 .txt-time{padding-top:4px;color:#666;font-size:12px;line-height:14px;letter-spacing:0;}
.list-type038 .item-box01 .info-box02{width:156px;padding:0 20px 0 0;vertical-align:middle;text-align:right;}
/* 공통여백 */
.container>[class*='content']+[class*='content']{margin-top:35px;}
body:not(.page-main) .container>[class*='content']:last-child{padding-bottom:100px;}
[class*='box-type']{margin-top:35px;}
[class*='box-type'] [class*='paging-type01']{margin-top:35px;}
[class*='tab-content'] [class*='box-type'],
.title-page02+[class*='box-type'],
.container>[class*='content']>[class*='box-type']:first-child,
.section01>[class*='box-type']:first-child,
.section02>[class*='box-type']:first-child{margin-top:0;}
/* =============== Pager ======================== */
/* paging-type01 : 리스트 페이징 */
.paging-type01{font-size:0;text-align:center;}
.paging-type01>a,
.paging-type01 .num{display:inline-block;height:38px;margin:0 5px;vertical-align:top;}
.paging-type01 .first,
.paging-type01 .prev,
.paging-type01 .next,
.paging-type01 .last{position:relative;width:29px;height:38px}
.paging-type01 .first span,
.paging-type01 .prev span,
.paging-type01 .next span,
.paging-type01 .last span{overflow:hidden;position:absolute;top:50%;left:50%;width:11px;height:10px;font-size:1px;color:transparent;margin:-5px 0 0 -5px;background:url(../img/sprites_default01.png?v=20200610_1400) 0 0 no-repeat;}
.paging-type01 .first span{}
.paging-type01 .last span{}
.paging-type01 .prev span{background-position-x:-50px;}
.paging-type01 .next span{}
.paging-type01 .num{width:38px;height:38px;font-size:14px;line-height:38px;color:#000;background-color:#ebebeb;}
.paging-type01 .num.on{color:#fff;background-color:#213989;}
.paging-type01 .num:not(.on):hover{text-decoration:underline;}
\ No newline at end of file
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let doosan = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['두산', '베어스', '김재환', '김태형', '알칸타라'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
doosan.push(i);
break;
}
}
}
console.log("doosan loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('doosan', {
doosan : doosan
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let hanwha = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['한화', '이긇스', '18연패', '김태균', '한용덕', '최원호', '대전'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
hanwha.push(i);
break;
}
}
}
console.log("hanwha loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('hanwha', {
hanwha : hanwha
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
console.log("index loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('index', {
newslist : newslist
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let kia = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['KIA', 'kia', '기아', '타이거즈', '최형우', '윌리엄스', '광주'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
kia.push(i);
break;
}
}
}
console.log("kia loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('kia', {
kia : kia
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let kiwoom = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['키움', '히어로즈', '박병호', '손혁', '고척'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
kiwoom.push(i);
break;
}
}
}
console.log("kiwoom loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('kiwoom', {
kiwoom : kiwoom
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let kt = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['kt', 'KT', 'wiz', 'WIZ', '케이티', '위즈', '강백호', '이강철', '수원'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
kt.push(i);
break;
}
}
}
console.log("kt loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('kt', {
kt : kt
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let lg = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['LG', 'lg', '엘지', '트윈스', '라모스', '류중일'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
lg.push(i);
break;
}
}
}
console.log("lg loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('lg', {
lg : lg
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let lotte = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['롯데', '자이언츠', '이대호', '허문회', '사직'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
lotte.push(i);
break;
}
}
}
console.log("lotte loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('lotte', {
lotte : lotte
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let nc = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['NC', 'nc', '엔씨', '다이노스', '알테어', '강진성', '깡', '이동욱', '창원'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
nc.push(i);
break;
}
}
}
console.log("nc loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('nc', {
nc : nc
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let samsung = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['삼성', '라이온즈', '구자욱', '허삼영', '대구'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
samsung.push(i);
break;
}
}
}
console.log("samsung loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('samsung', {
samsung : samsung
});
});
module.exports = router;
var express = require('express');
var router = express.Router();
const getXports = require('../crawling/xports.js');
const getZum = require('../crawling/zum.js');
const getChosun = require('../crawling/chosun.js');
const getYna = require('../crawling/yna.js');
const getIsplus1 = require('../crawling/isplus1.js');
const getIsplus2 = require('../crawling/isplus2.js');
const getIsplus3 = require('../crawling/isplus3.js');
const getIsplus4 = require('../crawling/isplus4.js');
let isplus1;
let isplus2;
let isplus3;
let isplus4;
let xports;
let zum;
let chosun;
let yna;
let newslist;
let sk = new Array();
const loadlist = async function() {
try {
newlist = []
isplus1 = await getIsplus1();
isplus2 = await getIsplus2();
isplus3 = await getIsplus3();
isplus4 = await getIsplus4();
xports = await getXports();
zum = await getZum();
chosun = await getChosun();
yna = await getYna();
newslist = isplus1.concat(isplus2, isplus3, isplus4, xports, zum, chosun, yna);
let searchlist = ['sk', 'SK', '와이번스', '로맥', '염경엽', '인천', '문학'];
for(var i of newslist){
for (var j of searchlist){
if(i.title.indexOf(j) !== -1 || i.summary.indexOf(j) !== -1){
sk.push(i);
break;
}
}
}
console.log("sk loaded");
} catch (e) {
return console.log(e);
}
};
loadlist();
router.get('/', function(req, res, next){
loadlist();
res.render('sk', {
sk : sk
});
});
module.exports = router;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">DOOSAN 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<strong class = "num on">두산</strong>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of doosan) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">HANWHA 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<strong class = "num on">한화</strong>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of hanwha) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">야구 기사 목록</strong>
<div class = "paging paging-type01">
<strong class = "num on">All</strong>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of newslist) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">NC 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<strong class = "num on">KIA</strong>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of kia) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">KIWOOM 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<strong class = "num on">키움</strong>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of kiwoom) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">KT 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<strong class = "num on">KT</strong>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of kt) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">LG 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<strong class = "num on">LG</strong>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of lg) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">LOTTE 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<strong class = "num on">롯데</strong>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of lotte) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">NC 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<strong class = "num on">NC</strong>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of nc) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">SAMSUNG 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<strong class = "num on">삼성</strong>
<a href="/kt" class="num">KT</a>
<a href="/sk" class="num">SK</a>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of samsung) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>YaguMoa[ossswoo.tk]</title>
</head>
<body class = "body-news-list page-sports body-static" data-nav="sports">
<div id = "container" class = "wrap-container">
<div class = "container">
<div class = 'content03 width1100 line01'>
<div class = "section01">
<div class = 'title-page02'>
<h1 class = "title-type04 bold">
<span class = "tit">야구 모아</span>
</h1>
</div>
<section class = 'box-type box-latest01'>
<strong class="hidden-obj">SK 목록</strong>
<div class = "paging paging-type01">
<a href="/" class="num">All</a>
<a href="/nc" class="num">NC</a>
<a href="/lg" class="num">LG</a>
<a href="/doosan" class="num">두산</a>
<a href="/kiwoom" class="num">키움</a>
<a href="/kia" class="num">KIA</a>
<a href="/lotte" class="num">롯데</a>
<a href="/samsung" class="num">삼성</a>
<a href="/kt" class="num">KT</a>
<strong class = "num on">SK</strong>
<a href="/hanwha" class="num">한화</a>
</div>
<div class = "list-type038">
<ul class = "list">
<% for(var i of sk) { %>
<li>
<div class='item-box01'>
<div class='info-box01'>
<span class="blind">송고시간</span>
<span class='txt-time'><%= i.datetime %></span>
</div>
<% if (i.image_url != undefined) { %>
<figure class='img-con'>
<a class = "img img-cover imgLiquid_bgSize imgLiquid_ready" style = "background-size: cover; background-position: center top; background-repeat: no-repeat;" href = <%= i.url %> >
<img src = <%= i.image_url %>>
</a>
</figure>
<% } %>
<div class='news-con'>
<a class = 'tit-wrap' href = <%= i.url %>>
<strong class = 'tit-news'><%= i.title %></strong>
</a>
<p class = "lead">
<%= i.summary %>
</p>
</div>
</div>
</li>
<% } %>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>