30분 요약 강좌 시즌2 : Python 활용편 섹션4-웹크롤링
2021. 9. 17. 18:25ㆍ빅데이터 스터디
URL(Uniform Resource Locator)¶
- 자원이 어디 있는지를 알려주기 위한 규약
- 흔히 웹사이트 주소로 알고 있지만, URL은 웹사이트 주소뿐만 아니라 컴퓨터 네트워크상의 자원을 모두 나타낼 수 있음
- 그 주소에 접속하려면 해당 URL에 맞는 프로토콜을 알아야 하고, 그와 동일한 프로토콜로 접속(FTP 프로토콜인 경우에는 FTP 클라이언트를 이용해야 하고, HTTP인 경우에는 웹 브라우저를 이용해야 한다. 텔넷의 경우에는 텔넷프로그램을 이용해서 접속)
HTTP(Hypertext Transfer Protocol)¶
- HTML, XML, Javascript, 오디오, 비디오, 이미지, PDF, 등등을 서비스 하기 위해 나온 프로토콜
- 요청 또는 상태 라인 / 해더(생략가능) / 빈줄(해더의 끝)/ 바디(생략가능)
요청 (request)¶
- 상대방에게 어떤 페이지를 요구 </br> </br> GET /stock.html HTTP/1.1 </br> Host www.paullab.co.kr </br>
- paullab 페이지에서 stock.html이라는 페이지를 보여달라는 요청
응답 (reponse)¶
- 웹 브라우저가 해석해서 창에 보여줌 </br> </br>
HTTP /1.1 200 OK ##상태라인 </br> Content-Type ##해더 </br>
##빈줄</br>
<html> ##바디
...
</html>
HTTP 처리방식¶
- GET : 리소스 취득 (? 뒤에 이어붙이는 방식 - 작은 값들)
- POST : 리소스 생성 (Body에 붙이는 방식 - 상대적으로 큰 용량(이미지, 동영상 등))
- PUT, DELETE, HEAD, OPTIONS, TRACE, CONNECT
In [5]:
import requests
import bs4
In [4]:
requests.__version__ # 버전확인
Out[4]:
'2.25.1'
In [3]:
bs4.__version__
Out[3]:
'4.9.3'
requests¶
In [6]:
html = requests.get('http://www.paullab.co.kr/stock.html')
html #respose 200 일 경우 성공
Out[6]:
<Response [200]>
In [8]:
html.text
Out[8]:
'<!DOCTYPE html>\n<html lang="en">\n\n<head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta http-equiv="X-UA-Compatible" content="ie=edge">\n <title>Document</title>\n <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">\n <link rel="stylesheet" type="text/css" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous">\n <style>\n h1{\n margin: 2rem;\n }\n h1>span{\n font-size: 1rem;\n }\n .main {\n width: 80%;\n margin: 0 auto;\n text-align: center;\n }\n\n table {\n width: 100%;\n }\n\n a {\n color: inherit;\n cursor: pointer;\n text-decoration: none;\n }\n\n a:hover {\n color: #000;\n text-decoration: none;\n }\n\n em {\n font: inherit;\n }\n\n #information {\n padding: 15px;\n margin-bottom: 50px;\n }\n\n #information h2 {\n padding-bottom: 20px;\n }\n\n #information .wrap {\n display: flex;\n align-items: center;\n\n }\n\n #information .cat-img {\n width: 70%;\n padding-right: 100px;\n }\n\n #information .cat-img img {\n width: 100%;\n height: auto;\n }\n\n #information .tables {\n border: 1px solid #dbdbdb;\n padding: 20px 10px;\n }\n\n #information table {\n position: relative;\n width: 300px;\n padding: 10px;\n /* border-bottom: 1.5px dashed #dbdbdb; */\n align-items: center;\n border-collapse: separate;\n }\n\n #information tr {\n text-align: left;\n align-items: center;\n }\n\n #information th {\n font-size: 14px;\n align-items: center;\n padding-right: 10px;\n font-weight: normal;\n }\n\n #information td {\n text-align: right;\n font-size: 13px;\n }\n\n #information .strong {\n font-weight: bold;\n }\n\n .bar {\n color: #dbdbdb;\n font-size: 14px;\n }\n\n .link_site i {\n color: #000;\n }\n\n .link_site:hover {\n text-decoration: underline;\n }\n\n .link_site i {\n color: #dbdbdb;\n padding-left: 5px;\n }\n\n .help {\n font-size: 5px;\n font-weight: bold;\n color: rgb(91, 100, 103);\n border: 1px solid #888;\n padding: 0px 3px;\n }\n\n .lyr_section {\n position: absolute;\n font-size: 13px;\n background-color: #FFF;\n padding: 10px;\n width: 250px;\n border: 1px solid #888;\n line-height: 1.5;\n margin-top: 10px;\n z-index: 999;\n }\n\n #helpPannel5 p {\n color: #888;\n margin: 0;\n }\n\n .arrow {\n position: absolute;\n left: 75px;\n top: 0;\n width: 10px;\n height: 10px;\n border-top: 1px solid #888;\n border-right: 1px solid #888;\n background-color: #FFF;\n margin-top: -6px;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n .border-style {\n border-bottom: 1.5px dashed #dbdbdb;\n }\n\n </style>\n</head>\n\n<body>\n <h1>í\x81¬ë¡¤ë§\x81 ì\x97°ì\x8aµì\x9a© í\x8e\x98ì\x9d´ì§\x80 <span id="update">update : 20.12.30 / í\x95´ì\x99¸ í\x81¬ë¡¤ë§\x81ì\x9d´ Blockë\x90\x98ì\x96´ ì\x9e\x88ì\x9c¼ë¯\x80ë¡\x9c í\x81¬ë¡¤ë§\x81ì\x9d´ ì\x95\x88ë\x90\x98ì\x8b\x9cë\x8a\x94 ë¶\x84ì\x9d\x80 ì\x9d´ URL(http://paullab.synology.me/stock.html)ì\x9d\x84 ì\x82¬ì\x9a©í\x95\x98ì\x84¸ì\x9a\x94.</span></h1>\n\n <div id="information" class="main">\n <h2>(주)캣ë\x84¤ì\x83\x9dì\x84\xa0</h2>\n <div class="wrap main">\n <div class="cat-img">\n <img src="cats_stock.png" alt="(주)캣ë\x84¤ê°\x80ê²\x8c 주ê°\x80">\n </div>\n <div class="tables">\n <table summary="ì\x8b\x9cê°\x80ì´\x9dì\x95¡ ì\xa0\x95ë³´" class="border-style">\n <tr>\n <th class="strong" scope="row">ì\x8b\x9cê°\x80ì´\x9dì\x95¡</th>\n <!-- 공백ì\x9d\x80 ì\x9d\x98ë\x8f\x84ì\xa0\x81ì\x9c¼ë¡\x9c ë\x84£ì\x9d\x80 ê²\x83ì\x9e\x85ë\x8b\x88ë\x8b¤. -->\n <td class="strong"><em id="_market_sum">349ì¡° 2,323</em>ì\x96µì\x9b\x90</td>\n </tr>\n <tr>\n <th scope="row">\n <a class="link_site" href="#">ì\x8b\x9cê°\x80ì´\x9dì\x95¡ì\x88\x9cì\x9c\x84<i class="fas fa-caret-right"></i></a>\n </th>\n <!-- 공백ì\x9d\x80 ì\x9d\x98ë\x8f\x84ì\xa0\x81ì\x9c¼ë¡\x9c ë\x84£ì\x9d\x80 ê²\x83ì\x9e\x85ë\x8b\x88ë\x8b¤. -->\n <td>ì\x9c\x84ë\x8b\x88ë¸\x8cì\x9b\x94ë\x93\x9c <em id="_market_sum">1</em>ì\x9c\x84</td>\n </tr>\n <tr>\n <th scope="row">ì\x83\x81ì\x9e¥ì£¼ì\x8b\x9dì\x88\x98</th>\n <!-- 공백ì\x9d\x80 ì\x9d\x98ë\x8f\x84ì\xa0\x81ì\x9c¼ë¡\x9c ë\x84£ì\x9d\x80 ê²\x83ì\x9e\x85ë\x8b\x88ë\x8b¤. -->\n <td><em id="_market_sum">5,969,782,550</em></td>\n </tr>\n </table>\n\n <table summary="ì\x97\x85ì¢\x85ì\x83\x81ì\x84¸ ì\xa0\x95ë³´" class="border-style">\n <tr>\n <th class="strong" scope="row">í\x98\x84ì\x9e¬ê°\x80</th>\n <td class="strong"><em id="_market_sum">349ì¡° 2,323</em>ì\x96µì\x9b\x90</td>\n </tr>\n <tr>\n <th scope="row">52주 ìµ\x9cê³\xa0 <span class="bar">l</span> ìµ\x9cì\xa0\x80</th>\n <td>\n <em>62,800</em>\n <span class="bar">l</span>\n <em>42,300</em>\n </td>\n </tr>\n <tr>\n <th scope="row">ë°°ë\x8b¹ì\x88\x98ì\x9dµë¥\xa0 <span class="bar">l</span><span> 2019.12</span>\n <a class="help" href="#" alt="ë°°ë\x8b¹ì\x88\x98ì\x9dµë¥\xa0 ì\x83\x81ì\x84¸ì\x84¤ëª\x85"><em>?</em></a>\n <div class="lyr_section" style="display:none">\n <div id="helpPannel5" class="tooltip_lyr dividend_layer">\n <strong>ë°°ë\x8b¹ì\x88\x98ì\x9dµë¥\xa0 = (ë°°ë\x8b¹ê¸\x88 / í\x98\x84ì\x9e¬ê°\x80) x 100</strong>\n <p>ë°°ë\x8b¹ê¸\x88ì\x9d\x80 ìµ\x9cê·¼ ê²°ì\x82°ì\x97°ë\x8f\x84 기ì¤\x80ì\x9d\x98 ì¤\x91ê°\x84ë°°ë\x8b¹ì\x9d\x84 í\x8f¬í\x95¨í\x95\x9c ì´\x9d ë°°ë\x8b¹ê¸\x88ì\x9e\x85ë\x8b\x88ë\x8b¤.</p>\n <span class="arrow"></span>\n </div>\n </div>\n </th>\n <td>\n <em id="_dvr">2.42</em>%\n </td>\n </tr>\n </table>\n\n <table>\n <tr>\n <th class="strong" scope="row">매ì¶\x9c</th>\n <!-- <td>22ì¡° 1,250ì\x96µì\x9b\x90</td> -->\n <td class="strong">22,125,034,978,750ì\x9b\x90</td>\n </tr>\n <tr>\n <th scope="row">ë¹\x84ì\x9a©</th>\n <!-- <td>19ì¡° 2,238ì\x96µì\x9b\x90</td> -->\n <td>19,223,803,154,781ì\x9b\x90</td>\n </tr>\n <tr>\n <th scope="row">ì\x88\x9cì\x9dµ</th>\n <!-- <td><em id="_market_sum">2ì¡° 9,012ì\x96µì\x9b\x90</em></td> -->\n <td><em id="_market_sum">2,901,231,823,969ì\x9b\x90</em></td>\n </tr>\n </table>\n </div>\n\n </div>\n\n </div>\n\n <div class="main">\n <h2 id="ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84ì\x97°êµ¬ì\x9b\x90">ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84 ì\x97°êµ¬ì\x9b\x90</h2>\n <h3><span style="color: salmon">ì\x9d¼ë³\x84</span> ì\x8b\x9cì\x84¸</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">ë\x82\xa0ì§\x9c</th>\n <th scope="col">ì¢\x85ê°\x80</th>\n <th scope="col">ì\xa0\x84ì\x9d¼ë¹\x84</th>\n <th scope="col">ì\x8b\x9cê°\x80</th>\n <th scope="col">ê³\xa0ê°\x80</th>\n <th scope="col">ì\xa0\x80ê°\x80</th>\n <th scope="col">ê±°ë\x9e\x98ë\x9f\x89</th>\n </tr>\n\n\n\n <tr>\n <td align="center "><span class="date ">2019.10.23</span></td>\n <td class="num "><span>6,650</span></td>\n <td class="num ">\n <img src="ico_up.gif " width="7 " height="6 " style="margin-right:4px; " alt="ì\x83\x81ì\x8a¹ "><span>\n 20\n </span>\n </td>\n <td class="num "><span>6,590</span></td>\n <td class="num "><span>6,830</span></td>\n <td class="num "><span>6,580</span></td>\n <td class="num "><span>398,421</span></td>\n </tr>\n\n\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>6,630</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 190\n </span>\n </td>\n <td class="num"><span>6,830</span></td>\n <td class="num"><span>6,930</span></td>\n <td class="num"><span>6,530</span></td>\n <td class="num"><span>919,571</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>6,820</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 390\n </span>\n </td>\n <td class="num"><span>6,440</span></td>\n <td class="num"><span>6,890</span></td>\n <td class="num"><span>6,360</span></td>\n <td class="num"><span>1,678,055</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>6,430</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 480\n </span>\n </td>\n <td class="num"><span>6,020</span></td>\n <td class="num"><span>6,620</span></td>\n <td class="num"><span>5,970</span></td>\n <td class="num"><span>2,168,857</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>5,950</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 20\n </span>\n </td>\n <td class="num"><span>6,100</span></td>\n <td class="num"><span>6,180</span></td>\n <td class="num"><span>5,840</span></td>\n <td class="num"><span>1,982,922</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>5,930</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 290\n </span>\n </td>\n <td class="num"><span>5,620</span></td>\n <td class="num"><span>5,930</span></td>\n <td class="num"><span>5,350</span></td>\n <td class="num"><span>839,434</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>5,640</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 260\n </span>\n </td>\n <td class="num"><span>5,370</span></td>\n <td class="num"><span>5,660</span></td>\n <td class="num"><span>5,300</span></td>\n <td class="num"><span>702,104</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>5,380</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 340\n </span>\n </td>\n <td class="num"><span>5,060</span></td>\n <td class="num"><span>5,420</span></td>\n <td class="num"><span>5,060</span></td>\n <td class="num"><span>764,800</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>5,040</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 60\n </span>\n </td>\n <td class="num"><span>5,100</span></td>\n <td class="num"><span>5,170</span></td>\n <td class="num"><span>5,020</span></td>\n <td class="num"><span>134,558</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>5,100</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 50\n </span>\n </td>\n <td class="num"><span>5,000</span></td>\n <td class="num"><span>5,120</span></td>\n <td class="num"><span>4,970</span></td>\n <td class="num"><span>288,563</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 110\n </span>\n </td>\n <td class="num"><span>4,985</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num"><span>4,910</span></td>\n <td class="num"><span>223,839</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>4,940</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 70\n </span>\n </td>\n <td class="num"><span>4,990</span></td>\n <td class="num"><span>5,110</span></td>\n <td class="num"><span>4,905</span></td>\n <td class="num"><span>199,580</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>5,010</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 90\n </span>\n </td>\n <td class="num"><span>4,900</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num"><span>4,900</span></td>\n <td class="num"><span>188,467</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>4,920</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 90\n </span>\n </td>\n <td class="num"><span>4,930</span></td>\n <td class="num"><span>5,000</span></td>\n <td class="num"><span>4,900</span></td>\n <td class="num"><span>160,510</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>5,010</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 10\n </span>\n </td>\n <td class="num"><span>4,950</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num"><span>4,950</span></td>\n <td class="num"><span>246,145</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>5,000</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½#34;><span class="tah p11 nv01">\n 10\n </span>\n </td>\n <td class="num"><span>5,180</span></td>\n <td class="num"><span>5,300</span></td>\n <td class="num"><span>4,990</span></td>\n <td class="num"><span>705,046</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>5,010</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 50\n </span>\n </td>\n <td class="num"><span>5,020</span></td>\n <td class="num"><span>5,080</span></td>\n <td class="num"><span>4,865</span></td>\n <td class="num"><span>408,859</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>5,060</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>5,130</span></td>\n <td class="num"><span>5,200</span></td>\n <td class="num"><span>4,965</span></td>\n <td class="num"><span>404,633</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>5,060</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 270\n </span>\n </td>\n <td class="num"><span>5,280</span></td>\n <td class="num"><span>5,320</span></td>\n <td class="num"><span>5,040</span></td>\n <td class="num"><span>441,923</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>5,330</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 10\n </span>\n </td>\n <td class="num"><span>5,300</span></td>\n <td class="num"><span>5,370</span></td>\n <td class="num"><span>5,280</span></td>\n <td class="num"><span>211,019</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="main">\n <h2 id="ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84ê³µì\x97\x85">ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84 ê³µì\x97\x85</h2>\n <h3><span style="color: salmon">ì\x9d¼ë³\x84</span> ì\x8b\x9cì\x84¸</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">ë\x82\xa0ì§\x9c</th>\n <th scope="col">ì¢\x85ê°\x80</th>\n <th scope="col">ì\xa0\x84ì\x9d¼ë¹\x84</th>\n <th scope="col">ì\x8b\x9cê°\x80</th>\n <th scope="col">ê³\xa0ê°\x80</th>\n <th scope="col">ì\xa0\x80ê°\x80</th>\n <th scope="col">ê±°ë\x9e\x98ë\x9f\x89</th>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.23</span></td>\n <td class="num"><span>31,300</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 100\n </span>\n </td>\n <td class="num"><span>31,150</span></td>\n <td class="num"><span>31,850</span></td>\n <td class="num"><span>30,450</span></td>\n <td class="num"><span>513,365</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>31,200</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 100\n </span>\n </td>\n <td class="num"><span>31,450</span></td>\n <td class="num"><span>31,750</span></td>\n <td class="num"><span>30,100</span></td>\n <td class="num"><span>938,845</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>31,300</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 500\n </span>\n </td>\n <td class="num"><span>31,250</span></td>\n <td class="num"><span>32,800</span></td>\n <td class="num"><span>30,500</span></td>\n <td class="num"><span>1,774,049</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>30,800</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 2,400\n </span>\n </td>\n <td class="num"><span>28,700</span></td>\n <td class="num"><span>31,100</span></td>\n <td class="num"><span>28,400</span></td>\n <td class="num"><span>1,731,279</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>28,400</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 700\n </span>\n </td>\n <td class="num"><span>28,050</span></td>\n <td class="num"><span>29,200</span></td>\n <td class="num"><span>27,950</span></td>\n <td class="num"><span>983,611</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>27,700</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 900\n </span>\n </td>\n <td class="num"><span>27,900</span></td>\n <td class="num"><span>28,200</span></td>\n <td class="num"><span>27,300</span></td>\n <td class="num"><span>1,003,434</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>26,800</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 700\n </span>\n </td>\n <td class="num"><span>26,250</span></td>\n <td class="num"><span>27,000</span></td>\n <td class="num"><span>25,850</span></td>\n <td class="num"><span>589,982</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>26,100</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 100\n </span>\n </td>\n <td class="num"><span>26,500</span></td>\n <td class="num"><span>26,550</span></td>\n <td class="num"><span>25,750</span></td>\n <td class="num"><span>335,940</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>26,200</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>26,650</span></td>\n <td class="num"><span>26,700</span></td>\n <td class="num"><span>25,700</span></td>\n <td class="num"><span>531,894</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>26,200</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 1,700\n </span>\n </td>\n <td class="num"><span>24,750</span></td>\n <td class="num"><span>26,300</span></td>\n <td class="num"><span>24,700</span></td>\n <td class="num"><span>1,060,562</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>24,500</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 850\n </span>\n </td>\n <td class="num"><span>23,600</span></td>\n <td class="num"><span>24,600</span></td>\n <td class="num"><span>23,150</span></td>\n <td class="num"><span>336,803</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>23,650</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 450\n </span>\n </td>\n <td class="num"><span>24,200</span></td>\n <td class="num"><span>24,400</span></td>\n <td class="num"><span>23,550</span></td>\n <td class="num"><span>285,608</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>24,100</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 400\n </span>\n </td>\n <td class="num"><span>24,300</span></td>\n <td class="num"><span>24,700</span></td>\n <td class="num"><span>23,900</span></td>\n <td class="num"><span>236,640</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>24,500</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>24,100</span></td>\n <td class="num"><span>24,900</span></td>\n <td class="num"><span>24,000</span></td>\n <td class="num"><span>258,642</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>24,500</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 400\n </span>\n </td>\n <td class="num"><span>24,700</span></td>\n <td class="num"><span>25,200</span></td>\n <td class="num"><span>24,350</span></td>\n <td class="num"><span>368,213</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>24,100</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 300\n </span>\n </td>\n <td class="num"><span>23,300</span></td>\n <td class="num"><span>24,150</span></td>\n <td class="num"><span>22,950</span></td>\n <td class="num"><span>369,465</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>23,800</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 300\n </span>\n </td>\n <td class="num"><span>24,050</span></td>\n <td class="num"><span>24,600</span></td>\n <td class="num"><span>23,400</span></td>\n <td class="num"><span>300,900</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>24,100</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 200\n </span>\n </td>\n <td class="num"><span>24,650</span></td>\n <td class="num"><span>24,800</span></td>\n <td class="num"><span>23,850</span></td>\n <td class="num"><span>227,601</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>24,300</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 1,200\n </span>\n </td>\n <td class="num"><span>25,200</span></td>\n <td class="num"><span>25,450</span></td>\n <td class="num"><span>24,200</span></td>\n <td class="num"><span>367,106</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>25,500</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>25,650</span></td>\n <td class="num"><span>25,800</span></td>\n <td class="num"><span>25,150</span></td>\n <td class="num"><span>248,811</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="main">\n <h2 id="ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84ì¶\x9cí\x8c\x90ì\x82¬">ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84 ì¶\x9cí\x8c\x90ì\x82¬</h2>\n <h3><span style="color: salmon">ì\x9d¼ë³\x84</span> ì\x8b\x9cì\x84¸</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">ë\x82\xa0ì§\x9c</th>\n <th scope="col">ì¢\x85ê°\x80</th>\n <th scope="col">ì\xa0\x84ì\x9d¼ë¹\x84</th>\n <th scope="col">ì\x8b\x9cê°\x80</th>\n <th scope="col">ê³\xa0ê°\x80</th>\n <th scope="col">ì\xa0\x80ê°\x80</th>\n <th scope="col">ê±°ë\x9e\x98ë\x9f\x89</th>\n </tr>\n\n <tr>\n <td align="center "><span class="date ">2019.10.23</span></td>\n <td class="num "><span>13,250</span></td>\n <td class="num ">\n <img src="ico_down.gif " width="7 " height="6 " style="margin-right:4px; " alt="í\x95\x98ë\x9d½ "><span class="tah p11 nv01 ">\n 100\n </span>\n </td>\n <td class="num "><span>13,400</span></td>\n <td class="num "><span>13,450</span></td>\n <td class="num "><span>13,150</span></td>\n <td class="num "><span>83,405</span></td>\n </tr>\n\n\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>13,350</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>13,500</span></td>\n <td class="num"><span>13,600</span></td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>160,439</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>13,500</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 450\n </span>\n </td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>13,550</span></td>\n <td class="num"><span>13,000</span></td>\n <td class="num"><span>237,001</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 350\n </span>\n </td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>13,450</span></td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>278,034</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 450\n </span>\n </td>\n <td class="num"><span>13,100</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>12,650</span></td>\n <td class="num"><span>179,950</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 600\n </span>\n </td>\n <td class="num"><span>12,650</span></td>\n <td class="num"><span>13,800</span></td>\n <td class="num"><span>12,650</span></td>\n <td class="num"><span>615,073</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>12,800</span></td>\n <td class="num"><span>12,800</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num"><span>128,599</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>12,600</span></td>\n <td class="num"><span>47,049</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 150\n </span>\n </td>\n <td class="num"><span>12,550</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>12,450</span></td>\n <td class="num"><span>60,017</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>12,400</span></td>\n <td class="num"><span>12,750</span></td>\n <td class="num"><span>12,350</span></td>\n <td class="num"><span>82,049</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>12,750</span></td>\n <td class="num"><span>12,500</span></td>\n <td class="num"><span>75,452</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 50\n </span>\n </td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>12,800</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num"><span>98,403</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>12,750</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>12,900</span></td>\n <td class="num"><span>12,950</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>89,815</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>12,900</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 450\n </span>\n </td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>13,300</span></td>\n <td class="num"><span>12,900</span></td>\n <td class="num"><span>157,254</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>13,350</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 50\n </span>\n </td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>13,400</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num"><span>125,442</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>13,300</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 150\n </span>\n </td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>13,500</span></td>\n <td class="num"><span>13,100</span></td>\n <td class="num"><span>131,064</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 100\n </span>\n </td>\n <td class="num"><span>12,950</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>12,900</span></td>\n <td class="num"><span>52,919</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>13,200</span></td>\n <td class="num"><span>13,200</span></td>\n <td class="num"><span>12,950</span></td>\n <td class="num"><span>153,270</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 300\n </span>\n </td>\n <td class="num"><span>13,300</span></td>\n <td class="num"><span>13,600</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num"><span>227,991</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>13,350</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 50\n </span>\n </td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>13,750</span></td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>204,286</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="main">\n <h2 id="ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84í\x95\x99ì\x9b\x90">ì\xa0\x9c주ì½\x94ë\x94©ë²\xa0ì\x9d´ì\x8a¤ìº\xa0í\x94\x84 í\x95\x99ì\x9b\x90</h2>\n <h3><span style="color: salmon">ì\x9d¼ë³\x84</span> ì\x8b\x9cì\x84¸</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">ë\x82\xa0ì§\x9c</th>\n <th scope="col">ì¢\x85ê°\x80</th>\n <th scope="col">ì\xa0\x84ì\x9d¼ë¹\x84</th>\n <th scope="col">ì\x8b\x9cê°\x80</th>\n <th scope="col">ê³\xa0ê°\x80</th>\n <th scope="col">ì\xa0\x80ê°\x80</th>\n <th scope="col">ê±°ë\x9e\x98ë\x9f\x89</th>\n </tr>\n\n\n <tr>\n <td align="center "><span class="date ">2019.10.23</span></td>\n <td class="num "><span>2,600</span></td>\n <td class="num ">\n <img src="ico_up.gif " width="7 " height="6 " style="margin-right:4px; "><span>\n 600\n </span>\n </td>\n <td class="num "><span>2,055</span></td>\n <td class="num "><span>2,600</span></td>\n <td class="num "><span>2,020</span></td>\n <td class="num "><span>2,203,110</span></td>\n </tr>\n\n\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>2,000</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 5\n </span>\n </td>\n <td class="num"><span>1,985</span></td>\n <td class="num"><span>2,005</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>32,212</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>1,995</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 30\n </span>\n </td>\n <td class="num"><span>2,025</span></td>\n <td class="num"><span>2,035</span></td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>35,186</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>2,025</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 40\n </span>\n </td>\n <td class="num"><span>1,985</span></td>\n <td class="num"><span>2,050</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>108,481</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>1,985</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 10\n </span>\n </td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>1,990</span></td>\n <td class="num"><span>1,955</span></td>\n <td class="num"><span>20,766</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>1,975</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 5\n </span>\n </td>\n <td class="num"><span>1,985</span></td>\n <td class="num"><span>1,995</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>19,243</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 20\n </span>\n </td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>1,960</span></td>\n <td class="num"><span>35,658</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>1,960</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>1,955</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>1,935</span></td>\n <td class="num"><span>26,698</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>1,960</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 45\n </span>\n </td>\n <td class="num"><span>1,925</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>1,910</span></td>\n <td class="num"><span>45,469</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>1,915</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 15\n </span>\n </td>\n <td class="num"><span>1,885</span></td>\n <td class="num"><span>1,915</span></td>\n <td class="num"><span>1,885</span></td>\n <td class="num"><span>32,773</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>1,900</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 20\n </span>\n </td>\n <td class="num"><span>1,915</span></td>\n <td class="num"><span>1,935</span></td>\n <td class="num"><span>1,885</span></td>\n <td class="num"><span>62,433</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>1,920</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 50\n </span>\n </td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>1,895</span></td>\n <td class="num"><span>89,504</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 20\n </span>\n </td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>2,005</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>47,894</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>1,990</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>2,030</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>74,176</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>1,990</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 20\n </span>\n </td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>2,005</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>44,690</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 5\n </span>\n </td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>2,000</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>34,087</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>1,975</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 5\n </span>\n </td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>2,060</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>109,372</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 30\n </span>\n </td>\n <td class="num"><span>2,000</span></td>\n <td class="num"><span>2,035</span></td>\n <td class="num"><span>1,950</span></td>\n <td class="num"><span>83,120</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>2,000</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="í\x95\x98ë\x9d½"><span class="tah p11 nv01">\n 65\n </span>\n </td>\n <td class="num"><span>2,065</span></td>\n <td class="num"><span>2,065</span></td>\n <td class="num"><span>1,985</span></td>\n <td class="num"><span>78,144</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>2,065</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="ì\x83\x81ì\x8a¹"><span>\n 30\n </span>\n </td>\n <td class="num"><span>2,020</span></td>\n <td class="num"><span>2,090</span></td>\n <td class="num"><span>2,020</span></td>\n <td class="num"><span>139,085</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n\n<script src="https://code.jquery.com/jquery-3.5.1.js"></script>\n<script type="text/javascript">\n $(\'.help\').hover(function() {\n $(\'.lyr_section\').css(\'display\', \'block\');\n }, function() {\n $(\'.lyr_section\').css(\'display\', \'none\');\n });\n\n</script>\n</body>\n\n</html>\n'
In [9]:
html.headers #html의 헤더 확인
Out[9]:
{'Server': 'nginx', 'Date': 'Thu, 16 Sep 2021 11:28:52 GMT', 'Content-Type': 'text/html', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding', 'P3P': "CP='NOI CURa ADMa DEVa TAIa OUR DELa BUS IND PHY ONL UNI COM NAV INT DEM PRE'", 'X-Powered-By': 'PHP/5.5.17p1', 'Content-Encoding': 'gzip'}
In [10]:
html.encoding
Out[10]:
'ISO-8859-1'
In [11]:
html.encoding = 'utf-8' #한국어깨짐 현상 방지
In [13]:
html.text
Out[13]:
'<!DOCTYPE html>\n<html lang="en">\n\n<head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta http-equiv="X-UA-Compatible" content="ie=edge">\n <title>Document</title>\n <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">\n <link rel="stylesheet" type="text/css" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous">\n <style>\n h1{\n margin: 2rem;\n }\n h1>span{\n font-size: 1rem;\n }\n .main {\n width: 80%;\n margin: 0 auto;\n text-align: center;\n }\n\n table {\n width: 100%;\n }\n\n a {\n color: inherit;\n cursor: pointer;\n text-decoration: none;\n }\n\n a:hover {\n color: #000;\n text-decoration: none;\n }\n\n em {\n font: inherit;\n }\n\n #information {\n padding: 15px;\n margin-bottom: 50px;\n }\n\n #information h2 {\n padding-bottom: 20px;\n }\n\n #information .wrap {\n display: flex;\n align-items: center;\n\n }\n\n #information .cat-img {\n width: 70%;\n padding-right: 100px;\n }\n\n #information .cat-img img {\n width: 100%;\n height: auto;\n }\n\n #information .tables {\n border: 1px solid #dbdbdb;\n padding: 20px 10px;\n }\n\n #information table {\n position: relative;\n width: 300px;\n padding: 10px;\n /* border-bottom: 1.5px dashed #dbdbdb; */\n align-items: center;\n border-collapse: separate;\n }\n\n #information tr {\n text-align: left;\n align-items: center;\n }\n\n #information th {\n font-size: 14px;\n align-items: center;\n padding-right: 10px;\n font-weight: normal;\n }\n\n #information td {\n text-align: right;\n font-size: 13px;\n }\n\n #information .strong {\n font-weight: bold;\n }\n\n .bar {\n color: #dbdbdb;\n font-size: 14px;\n }\n\n .link_site i {\n color: #000;\n }\n\n .link_site:hover {\n text-decoration: underline;\n }\n\n .link_site i {\n color: #dbdbdb;\n padding-left: 5px;\n }\n\n .help {\n font-size: 5px;\n font-weight: bold;\n color: rgb(91, 100, 103);\n border: 1px solid #888;\n padding: 0px 3px;\n }\n\n .lyr_section {\n position: absolute;\n font-size: 13px;\n background-color: #FFF;\n padding: 10px;\n width: 250px;\n border: 1px solid #888;\n line-height: 1.5;\n margin-top: 10px;\n z-index: 999;\n }\n\n #helpPannel5 p {\n color: #888;\n margin: 0;\n }\n\n .arrow {\n position: absolute;\n left: 75px;\n top: 0;\n width: 10px;\n height: 10px;\n border-top: 1px solid #888;\n border-right: 1px solid #888;\n background-color: #FFF;\n margin-top: -6px;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n .border-style {\n border-bottom: 1.5px dashed #dbdbdb;\n }\n\n </style>\n</head>\n\n<body>\n <h1>크롤링 연습용 페이지 <span id="update">update : 20.12.30 / 해외 크롤링이 Block되어 있으므로 크롤링이 안되시는 분은 이 URL(http://paullab.synology.me/stock.html)을 사용하세요.</span></h1>\n\n <div id="information" class="main">\n <h2>(주)캣네생선</h2>\n <div class="wrap main">\n <div class="cat-img">\n <img src="cats_stock.png" alt="(주)캣네가게 주가">\n </div>\n <div class="tables">\n <table summary="시가총액 정보" class="border-style">\n <tr>\n <th class="strong" scope="row">시가총액</th>\n <!-- 공백은 의도적으로 넣은 것입니다. -->\n <td class="strong"><em id="_market_sum">349조 2,323</em>억원</td>\n </tr>\n <tr>\n <th scope="row">\n <a class="link_site" href="#">시가총액순위<i class="fas fa-caret-right"></i></a>\n </th>\n <!-- 공백은 의도적으로 넣은 것입니다. -->\n <td>위니브월드 <em id="_market_sum">1</em>위</td>\n </tr>\n <tr>\n <th scope="row">상장주식수</th>\n <!-- 공백은 의도적으로 넣은 것입니다. -->\n <td><em id="_market_sum">5,969,782,550</em></td>\n </tr>\n </table>\n\n <table summary="업종상세 정보" class="border-style">\n <tr>\n <th class="strong" scope="row">현재가</th>\n <td class="strong"><em id="_market_sum">349조 2,323</em>억원</td>\n </tr>\n <tr>\n <th scope="row">52주 최고 <span class="bar">l</span> 최저</th>\n <td>\n <em>62,800</em>\n <span class="bar">l</span>\n <em>42,300</em>\n </td>\n </tr>\n <tr>\n <th scope="row">배당수익률 <span class="bar">l</span><span> 2019.12</span>\n <a class="help" href="#" alt="배당수익률 상세설명"><em>?</em></a>\n <div class="lyr_section" style="display:none">\n <div id="helpPannel5" class="tooltip_lyr dividend_layer">\n <strong>배당수익률 = (배당금 / 현재가) x 100</strong>\n <p>배당금은 최근 결산연도 기준의 중간배당을 포함한 총 배당금입니다.</p>\n <span class="arrow"></span>\n </div>\n </div>\n </th>\n <td>\n <em id="_dvr">2.42</em>%\n </td>\n </tr>\n </table>\n\n <table>\n <tr>\n <th class="strong" scope="row">매출</th>\n <!-- <td>22조 1,250억원</td> -->\n <td class="strong">22,125,034,978,750원</td>\n </tr>\n <tr>\n <th scope="row">비용</th>\n <!-- <td>19조 2,238억원</td> -->\n <td>19,223,803,154,781원</td>\n </tr>\n <tr>\n <th scope="row">순익</th>\n <!-- <td><em id="_market_sum">2조 9,012억원</em></td> -->\n <td><em id="_market_sum">2,901,231,823,969원</em></td>\n </tr>\n </table>\n </div>\n\n </div>\n\n </div>\n\n <div class="main">\n <h2 id="제주코딩베이스캠프연구원">제주코딩베이스캠프 연구원</h2>\n <h3><span style="color: salmon">일별</span> 시세</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">날짜</th>\n <th scope="col">종가</th>\n <th scope="col">전일비</th>\n <th scope="col">시가</th>\n <th scope="col">고가</th>\n <th scope="col">저가</th>\n <th scope="col">거래량</th>\n </tr>\n\n\n\n <tr>\n <td align="center "><span class="date ">2019.10.23</span></td>\n <td class="num "><span>6,650</span></td>\n <td class="num ">\n <img src="ico_up.gif " width="7 " height="6 " style="margin-right:4px; " alt="상승 "><span>\n 20\n </span>\n </td>\n <td class="num "><span>6,590</span></td>\n <td class="num "><span>6,830</span></td>\n <td class="num "><span>6,580</span></td>\n <td class="num "><span>398,421</span></td>\n </tr>\n\n\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>6,630</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 190\n </span>\n </td>\n <td class="num"><span>6,830</span></td>\n <td class="num"><span>6,930</span></td>\n <td class="num"><span>6,530</span></td>\n <td class="num"><span>919,571</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>6,820</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 390\n </span>\n </td>\n <td class="num"><span>6,440</span></td>\n <td class="num"><span>6,890</span></td>\n <td class="num"><span>6,360</span></td>\n <td class="num"><span>1,678,055</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>6,430</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 480\n </span>\n </td>\n <td class="num"><span>6,020</span></td>\n <td class="num"><span>6,620</span></td>\n <td class="num"><span>5,970</span></td>\n <td class="num"><span>2,168,857</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>5,950</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 20\n </span>\n </td>\n <td class="num"><span>6,100</span></td>\n <td class="num"><span>6,180</span></td>\n <td class="num"><span>5,840</span></td>\n <td class="num"><span>1,982,922</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>5,930</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 290\n </span>\n </td>\n <td class="num"><span>5,620</span></td>\n <td class="num"><span>5,930</span></td>\n <td class="num"><span>5,350</span></td>\n <td class="num"><span>839,434</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>5,640</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 260\n </span>\n </td>\n <td class="num"><span>5,370</span></td>\n <td class="num"><span>5,660</span></td>\n <td class="num"><span>5,300</span></td>\n <td class="num"><span>702,104</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>5,380</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 340\n </span>\n </td>\n <td class="num"><span>5,060</span></td>\n <td class="num"><span>5,420</span></td>\n <td class="num"><span>5,060</span></td>\n <td class="num"><span>764,800</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>5,040</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 60\n </span>\n </td>\n <td class="num"><span>5,100</span></td>\n <td class="num"><span>5,170</span></td>\n <td class="num"><span>5,020</span></td>\n <td class="num"><span>134,558</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>5,100</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 50\n </span>\n </td>\n <td class="num"><span>5,000</span></td>\n <td class="num"><span>5,120</span></td>\n <td class="num"><span>4,970</span></td>\n <td class="num"><span>288,563</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 110\n </span>\n </td>\n <td class="num"><span>4,985</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num"><span>4,910</span></td>\n <td class="num"><span>223,839</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>4,940</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 70\n </span>\n </td>\n <td class="num"><span>4,990</span></td>\n <td class="num"><span>5,110</span></td>\n <td class="num"><span>4,905</span></td>\n <td class="num"><span>199,580</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>5,010</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 90\n </span>\n </td>\n <td class="num"><span>4,900</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num"><span>4,900</span></td>\n <td class="num"><span>188,467</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>4,920</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 90\n </span>\n </td>\n <td class="num"><span>4,930</span></td>\n <td class="num"><span>5,000</span></td>\n <td class="num"><span>4,900</span></td>\n <td class="num"><span>160,510</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>5,010</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 10\n </span>\n </td>\n <td class="num"><span>4,950</span></td>\n <td class="num"><span>5,050</span></td>\n <td class="num"><span>4,950</span></td>\n <td class="num"><span>246,145</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>5,000</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 10\n </span>\n </td>\n <td class="num"><span>5,180</span></td>\n <td class="num"><span>5,300</span></td>\n <td class="num"><span>4,990</span></td>\n <td class="num"><span>705,046</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>5,010</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 50\n </span>\n </td>\n <td class="num"><span>5,020</span></td>\n <td class="num"><span>5,080</span></td>\n <td class="num"><span>4,865</span></td>\n <td class="num"><span>408,859</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>5,060</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>5,130</span></td>\n <td class="num"><span>5,200</span></td>\n <td class="num"><span>4,965</span></td>\n <td class="num"><span>404,633</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>5,060</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 270\n </span>\n </td>\n <td class="num"><span>5,280</span></td>\n <td class="num"><span>5,320</span></td>\n <td class="num"><span>5,040</span></td>\n <td class="num"><span>441,923</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>5,330</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 10\n </span>\n </td>\n <td class="num"><span>5,300</span></td>\n <td class="num"><span>5,370</span></td>\n <td class="num"><span>5,280</span></td>\n <td class="num"><span>211,019</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="main">\n <h2 id="제주코딩베이스캠프공업">제주코딩베이스캠프 공업</h2>\n <h3><span style="color: salmon">일별</span> 시세</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">날짜</th>\n <th scope="col">종가</th>\n <th scope="col">전일비</th>\n <th scope="col">시가</th>\n <th scope="col">고가</th>\n <th scope="col">저가</th>\n <th scope="col">거래량</th>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.23</span></td>\n <td class="num"><span>31,300</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 100\n </span>\n </td>\n <td class="num"><span>31,150</span></td>\n <td class="num"><span>31,850</span></td>\n <td class="num"><span>30,450</span></td>\n <td class="num"><span>513,365</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>31,200</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 100\n </span>\n </td>\n <td class="num"><span>31,450</span></td>\n <td class="num"><span>31,750</span></td>\n <td class="num"><span>30,100</span></td>\n <td class="num"><span>938,845</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>31,300</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 500\n </span>\n </td>\n <td class="num"><span>31,250</span></td>\n <td class="num"><span>32,800</span></td>\n <td class="num"><span>30,500</span></td>\n <td class="num"><span>1,774,049</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>30,800</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 2,400\n </span>\n </td>\n <td class="num"><span>28,700</span></td>\n <td class="num"><span>31,100</span></td>\n <td class="num"><span>28,400</span></td>\n <td class="num"><span>1,731,279</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>28,400</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 700\n </span>\n </td>\n <td class="num"><span>28,050</span></td>\n <td class="num"><span>29,200</span></td>\n <td class="num"><span>27,950</span></td>\n <td class="num"><span>983,611</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>27,700</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 900\n </span>\n </td>\n <td class="num"><span>27,900</span></td>\n <td class="num"><span>28,200</span></td>\n <td class="num"><span>27,300</span></td>\n <td class="num"><span>1,003,434</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>26,800</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 700\n </span>\n </td>\n <td class="num"><span>26,250</span></td>\n <td class="num"><span>27,000</span></td>\n <td class="num"><span>25,850</span></td>\n <td class="num"><span>589,982</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>26,100</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 100\n </span>\n </td>\n <td class="num"><span>26,500</span></td>\n <td class="num"><span>26,550</span></td>\n <td class="num"><span>25,750</span></td>\n <td class="num"><span>335,940</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>26,200</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>26,650</span></td>\n <td class="num"><span>26,700</span></td>\n <td class="num"><span>25,700</span></td>\n <td class="num"><span>531,894</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>26,200</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 1,700\n </span>\n </td>\n <td class="num"><span>24,750</span></td>\n <td class="num"><span>26,300</span></td>\n <td class="num"><span>24,700</span></td>\n <td class="num"><span>1,060,562</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>24,500</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 850\n </span>\n </td>\n <td class="num"><span>23,600</span></td>\n <td class="num"><span>24,600</span></td>\n <td class="num"><span>23,150</span></td>\n <td class="num"><span>336,803</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>23,650</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 450\n </span>\n </td>\n <td class="num"><span>24,200</span></td>\n <td class="num"><span>24,400</span></td>\n <td class="num"><span>23,550</span></td>\n <td class="num"><span>285,608</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>24,100</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 400\n </span>\n </td>\n <td class="num"><span>24,300</span></td>\n <td class="num"><span>24,700</span></td>\n <td class="num"><span>23,900</span></td>\n <td class="num"><span>236,640</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>24,500</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>24,100</span></td>\n <td class="num"><span>24,900</span></td>\n <td class="num"><span>24,000</span></td>\n <td class="num"><span>258,642</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>24,500</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 400\n </span>\n </td>\n <td class="num"><span>24,700</span></td>\n <td class="num"><span>25,200</span></td>\n <td class="num"><span>24,350</span></td>\n <td class="num"><span>368,213</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>24,100</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 300\n </span>\n </td>\n <td class="num"><span>23,300</span></td>\n <td class="num"><span>24,150</span></td>\n <td class="num"><span>22,950</span></td>\n <td class="num"><span>369,465</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>23,800</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 300\n </span>\n </td>\n <td class="num"><span>24,050</span></td>\n <td class="num"><span>24,600</span></td>\n <td class="num"><span>23,400</span></td>\n <td class="num"><span>300,900</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>24,100</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 200\n </span>\n </td>\n <td class="num"><span>24,650</span></td>\n <td class="num"><span>24,800</span></td>\n <td class="num"><span>23,850</span></td>\n <td class="num"><span>227,601</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>24,300</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 1,200\n </span>\n </td>\n <td class="num"><span>25,200</span></td>\n <td class="num"><span>25,450</span></td>\n <td class="num"><span>24,200</span></td>\n <td class="num"><span>367,106</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>25,500</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>25,650</span></td>\n <td class="num"><span>25,800</span></td>\n <td class="num"><span>25,150</span></td>\n <td class="num"><span>248,811</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="main">\n <h2 id="제주코딩베이스캠프출판사">제주코딩베이스캠프 출판사</h2>\n <h3><span style="color: salmon">일별</span> 시세</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">날짜</th>\n <th scope="col">종가</th>\n <th scope="col">전일비</th>\n <th scope="col">시가</th>\n <th scope="col">고가</th>\n <th scope="col">저가</th>\n <th scope="col">거래량</th>\n </tr>\n\n <tr>\n <td align="center "><span class="date ">2019.10.23</span></td>\n <td class="num "><span>13,250</span></td>\n <td class="num ">\n <img src="ico_down.gif " width="7 " height="6 " style="margin-right:4px; " alt="하락 "><span class="tah p11 nv01 ">\n 100\n </span>\n </td>\n <td class="num "><span>13,400</span></td>\n <td class="num "><span>13,450</span></td>\n <td class="num "><span>13,150</span></td>\n <td class="num "><span>83,405</span></td>\n </tr>\n\n\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>13,350</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>13,500</span></td>\n <td class="num"><span>13,600</span></td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>160,439</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>13,500</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 450\n </span>\n </td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>13,550</span></td>\n <td class="num"><span>13,000</span></td>\n <td class="num"><span>237,001</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 350\n </span>\n </td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>13,450</span></td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>278,034</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 450\n </span>\n </td>\n <td class="num"><span>13,100</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>12,650</span></td>\n <td class="num"><span>179,950</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 600\n </span>\n </td>\n <td class="num"><span>12,650</span></td>\n <td class="num"><span>13,800</span></td>\n <td class="num"><span>12,650</span></td>\n <td class="num"><span>615,073</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>12,800</span></td>\n <td class="num"><span>12,800</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num"><span>128,599</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>12,850</span></td>\n <td class="num"><span>12,600</span></td>\n <td class="num"><span>47,049</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 150\n </span>\n </td>\n <td class="num"><span>12,550</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>12,450</span></td>\n <td class="num"><span>60,017</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>12,400</span></td>\n <td class="num"><span>12,750</span></td>\n <td class="num"><span>12,350</span></td>\n <td class="num"><span>82,049</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>12,750</span></td>\n <td class="num"><span>12,500</span></td>\n <td class="num"><span>75,452</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 50\n </span>\n </td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>12,800</span></td>\n <td class="num"><span>12,550</span></td>\n <td class="num"><span>98,403</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>12,750</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 150\n </span>\n </td>\n <td class="num"><span>12,900</span></td>\n <td class="num"><span>12,950</span></td>\n <td class="num"><span>12,700</span></td>\n <td class="num"><span>89,815</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>12,900</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 450\n </span>\n </td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>13,300</span></td>\n <td class="num"><span>12,900</span></td>\n <td class="num"><span>157,254</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>13,350</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 50\n </span>\n </td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>13,400</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num"><span>125,442</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>13,300</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 150\n </span>\n </td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>13,500</span></td>\n <td class="num"><span>13,100</span></td>\n <td class="num"><span>131,064</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 100\n </span>\n </td>\n <td class="num"><span>12,950</span></td>\n <td class="num"><span>13,150</span></td>\n <td class="num"><span>12,900</span></td>\n <td class="num"><span>52,919</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>13,200</span></td>\n <td class="num"><span>13,200</span></td>\n <td class="num"><span>12,950</span></td>\n <td class="num"><span>153,270</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 300\n </span>\n </td>\n <td class="num"><span>13,300</span></td>\n <td class="num"><span>13,600</span></td>\n <td class="num"><span>13,050</span></td>\n <td class="num"><span>227,991</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>13,350</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 50\n </span>\n </td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>13,750</span></td>\n <td class="num"><span>13,250</span></td>\n <td class="num"><span>204,286</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="main">\n <h2 id="제주코딩베이스캠프학원">제주코딩베이스캠프 학원</h2>\n <h3><span style="color: salmon">일별</span> 시세</h3>\n <table class="table table-hover">\n <tbody>\n <tr>\n <th scope="col">날짜</th>\n <th scope="col">종가</th>\n <th scope="col">전일비</th>\n <th scope="col">시가</th>\n <th scope="col">고가</th>\n <th scope="col">저가</th>\n <th scope="col">거래량</th>\n </tr>\n\n\n <tr>\n <td align="center "><span class="date ">2019.10.23</span></td>\n <td class="num "><span>2,600</span></td>\n <td class="num ">\n <img src="ico_up.gif " width="7 " height="6 " style="margin-right:4px; "><span>\n 600\n </span>\n </td>\n <td class="num "><span>2,055</span></td>\n <td class="num "><span>2,600</span></td>\n <td class="num "><span>2,020</span></td>\n <td class="num "><span>2,203,110</span></td>\n </tr>\n\n\n\n <tr>\n <td align="center"><span class="date">2019.10.22</span></td>\n <td class="num"><span>2,000</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 5\n </span>\n </td>\n <td class="num"><span>1,985</span></td>\n <td class="num"><span>2,005</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>32,212</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.21</span></td>\n <td class="num"><span>1,995</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 30\n </span>\n </td>\n <td class="num"><span>2,025</span></td>\n <td class="num"><span>2,035</span></td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>35,186</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.18</span></td>\n <td class="num"><span>2,025</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 40\n </span>\n </td>\n <td class="num"><span>1,985</span></td>\n <td class="num"><span>2,050</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>108,481</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.17</span></td>\n <td class="num"><span>1,985</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 10\n </span>\n </td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>1,990</span></td>\n <td class="num"><span>1,955</span></td>\n <td class="num"><span>20,766</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.16</span></td>\n <td class="num"><span>1,975</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 5\n </span>\n </td>\n <td class="num"><span>1,985</span></td>\n &llt;td class="num"><span>1,995</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>19,243</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.15</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 20\n </span>\n </td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>1,960</span></td>\n <td class="num"><span>35,658</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.14</span></td>\n <td class="num"><span>1,960</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>1,955</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>1,935</span></td>\n <td class="num"><span>26,698</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.11</span></td>\n <td class="num"><span>1,960</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 45\n </span>\n </td>\n <td class="num"><span>1,925</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>1,910</span></td>\n <td class="num"><span>45,469</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.10</span></td>\n <td class="num"><span>1,915</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 15\n </span>\n </td>\n <td class="num"><span>1,885</span></td>\n <td class="num"><span>1,915</span></td>\n <td class="num"><span>1,885</span></td>\n <td class="num"><span>32,773</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.10.08</span></td>\n <td class="num"><span>1,900</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 20\n </span>\n </td>\n <td class="num"><span>1,915</span></td>\n <td class="num"><span>1,935</span></td>\n <td class="num"><span>1,885</span></td>\n <td class="num"><span>62,433</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.07</span></td>\n <td class="num"><span>1,920</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 50\n </span>\n </td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>1,895</span></td>\n <td class="num"><span>89,504</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.04</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 20\n </span>\n </td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>2,005</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>47,894</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.02</span></td>\n <td class="num"><span>1,990</span></td>\n <td class="num">\n <span>0</span>\n </td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>2,030</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>74,176</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.10.01</span></td>\n <td class="num"><span>1,990</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 20\n </span>\n </td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>2,005</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>44,690</span></td>\n </tr>\n\n <tr>\n <td align="center"><span class="date">2019.09.30</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 5\n </span>\n </td>\n <td class="num"><span>1,980</span></td>\n <td class="num"><span>2,000</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num"><span>34,087</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.27</span></td>\n <td class="num"><span>1,975</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 5\n </span>\n </td>\n <td class="num"><span>1,975</span></td>\n <td class="num"><span>2,060</span></td>\n <td class="num"><span>1,965</span></td>\n <td class="num"><span>109,372</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.26</span></td>\n <td class="num"><span>1,970</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 30\n </span>\n </td>\n <td class="num"><span>2,000</span></td>\n <td class="num"><span>2,035</span></td>\n <td class="num"><span>1,950</span></td>\n <td class="num"><span>83,120</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.25</span></td>\n <td class="num"><span>2,000</span></td>\n <td class="num">\n <img src="ico_down.gif" width="7" height="6" style="margin-right:4px;" alt="하락"><span class="tah p11 nv01">\n 65\n </span>\n </td>\n <td class="num"><span>2,065</span></td>\n <td class="num"><span>2,065</span></td>\n <td class="num"><span>1,985</span></td>\n <td class="num"><span>78,144</span></td>\n </tr>\n <tr>\n <td align="center"><span class="date">2019.09.24</span></td>\n <td class="num"><span>2,065</span></td>\n <td class="num">\n <img src="ico_up.gif" width="7" height="6" style="margin-right:4px;" alt="상승"><span>\n 30\n </span>\n </td>\n <td class="num"><span>2,020</span></td>\n <td class="num"><span>2,090</span></td>\n <td class="num"><span>2,020</span></td>\n <td class="num"><span>139,085</span></td>\n </tr>\n </tbody>\n </table>\n </div>\n\n<script src="https://code.jquery.com/jquery-3.5.1.js"></script>\n<script type="text/javascript">\n $(\'.help\').hover(function() {\n $(\'.lyr_section\').css(\'display\', \'block\');\n }, function() {\n $(\'.lyr_section\').css(\'display\', \'none\');\n });\n\n</script>\n</body>\n\n</html>\n'
In [15]:
html.status_code
Out[15]:
200
In [16]:
html.ok # html에 제대로 접속됐는지 확인
Out[16]:
True
In [17]:
response = requests.get('http://www.paullab.co.kr/stock.html')
response.encoding = 'utf-8'
html = response.text
soup = bs4.BeautifulSoup(html, 'html.parser')
In [19]:
print(soup.prettify()) #html 문서형식으로 출력
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta content="width=device-width, initial-scale=1.0" name="viewport"/> <meta content="ie=edge" http-equiv="X-UA-Compatible"/> <title> Document </title> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"/> <link crossorigin="anonymous" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" rel="stylesheet" type="text/css"/> <style> h1{ margin: 2rem; } h1>span{ font-size: 1rem; } .main { width: 80%; margin: 0 auto; text-align: center; } table { width: 100%; } a { color: inherit; cursor: pointer; text-decoration: none; } a:hover { color: #000; text-decoration: none; } em { font: inherit; } #information { padding: 15px; margin-bottom: 50px; } #information h2 { padding-bottom: 20px; } #information .wrap { display: flex; align-items: center; } #information .cat-img { width: 70%; padding-right: 100px; } #information .cat-img img { width: 100%; height: auto; } #information .tables { border: 1px solid #dbdbdb; padding: 20px 10px; } #information table { position: relative; width: 300px; padding: 10px; /* border-bottom: 1.5px dashed #dbdbdb; */ align-items: center; border-collapse: separate; } #information tr { text-align: left; align-items: center; } #information th { font-size: 14px; align-items: center; padding-right: 10px; font-weight: normal; } #information td { text-align: right; font-size: 13px; } #information .strong { font-weight: bold; } .bar { color: #dbdbdb; font-size: 14px; } .link_site i { color: #000; } .link_site:hover { text-decoration: underline; } .link_site i { color: #dbdbdb; padding-left: 5px; } .help { font-size: 5px; font-weight: bold; color: rgb(91, 100, 103); border: 1px solid #888; padding: 0px 3px; } .lyr_section { position: absolute; font-size: 13px; background-color: #FFF; padding: 10px; width: 250px; border: 1px solid #888; line-height: 1.5; margin-top: 10px; z-index: 999; } #helpPannel5 p { color: #888; margin: 0; } .arrow { position: absolute; left: 75px; top: 0; width: 10px; height: 10px; border-top: 1px solid #888; border-right: 1px solid #888; background-color: #FFF; margin-top: -6px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .border-style { border-bottom: 1.5px dashed #dbdbdb; } </style> </head> <body> <h1> 크롤링 연습용 페이지 <span id="update"> update : 20.12.30 / 해외 크롤링이 Block되어 있으므로 크롤링이 안되시는 분은 이 URL(http://paullab.synology.me/stock.html)을 사용하세요. </span> </h1> <div class="main" id="information"> <h2> (주)캣네생선 </h2> <div class="wrap main"> <div class="cat-img"> <img alt="(주)캣네가게 주가" src="cats_stock.png"/> </div> <div class="tables"> <table class="border-style" summary="시가총액 정보"> <tr> <th class="strong" scope="row"> 시가총액 </th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td class="strong"> <em id="_market_sum"> 349조 2,323 </em> 억원 </td> </tr> <tr> <th scope="row"> <a class="link_site" href="#"> 시가총액순위 <i class="fas fa-caret-right"> </i> </a> </th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td> 위니브월드 <em id="_market_sum"> 1 </em> 위 </td> </tr> <tr> <th scope="row"> 상장주식수 </th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td> <em id="_market_sum"> 5,969,782,550 </em> </td> </tr> </table> <table class="border-style" summary="업종상세 정보"> <tr> <th class="strong" scope="row"> 현재가 </th> <td class="strong"> <em id="_market_sum"> 349조 2,323 </em> 억원 </td> </tr> <tr> <th scope="row"> 52주 최고 <span class="bar"> l </span> 최저 </th> <td> <em> 62,800 </em> <span class="bar"> l </span> <em> 42,300 </em> </td> </tr> <tr> <th scope="row"> 배당수익률 <span class="bar"> l </span> <span> 2019.12 </span> <a alt="배당수익률 상세설명" class="help" href="#"> <em> ? </em> </a> <div class="lyr_section" style="display:none"> <div class="tooltip_lyr dividend_layer" id="helpPannel5"> <strong> 배당수익률 = (배당금 / 현재가) x 100 </strong> <p> 배당금은 최근 결산연도 기준의 중간배당을 포함한 총 배당금입니다. </p> <span class="arrow"> </span> </div> </div> </th> <td> <em id="_dvr"> 2.42 </em> % </td> </tr> </table> <table> <tr> <th class="strong" scope="row"> 매출 </th> <!-- <td>22조 1,250억원</td> --> <td class="strong"> 22,125,034,978,750원 </td> </tr> <tr> <th scope="row"> 비용 </th> <!-- <td>19조 2,238억원</td> --> <td> 19,223,803,154,781원 </td> </tr> <tr> <th scope="row"> 순익 </th> <!-- <td><em id="_market_sum">2조 9,012억원</em></td> --> <td> <em id="_market_sum"> 2,901,231,823,969원 </em> </td> </tr> </table> </div> </div> </div> <div class="main"> <h2 id="제주코딩베이스캠프연구원"> 제주코딩베이스캠프 연구원 </h2> <h3> <span style="color: salmon"> 일별 </span> 시세 </h3> <table class="table table-hover"> <tbody> <tr> <th scope="col"> 날짜 </th> <th scope="col"> 종가 </th> <th scope="col"> 전일비 </th> <th scope="col"> 시가 </th> <th scope="col"> 고가 </th> <th scope="col"> 저가 </th> <th scope="col"> 거래량 </th> </tr> <tr> <td align="center "> <span class="date"> 2019.10.23 </span> </td> <td class="num"> <span> 6,650 </span> </td> <td class="num"> <img alt="상승 " height="6 " src="ico_up.gif " style="margin-right:4px; " width="7 "/> <span> 20 </span> </td> <td class="num"> <span> 6,590 </span> </td> <td class="num"> <span> 6,830 </span> </td> <td class="num"> <span> 6,580 </span> </td> <td class="num"> <span> 398,421 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.22 </span> </td> <td class="num"> <span> 6,630 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 190 </span> </td> <td class="num"> <span> 6,830 </span> </td> <td class="num"> <span> 6,930 </span> </td> <td class="num"> <span> 6,530 </span> </td> <td class="num"> <span> 919,571 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.21 </span> </td> <td class="num"> <span> 6,820 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 390 </span> </td> <td class="num"> <span> 6,440 </span> </td> <td class="num"> <span> 6,890 </span> </td> <td class="num"> <span> 6,360 </span> </td> <td class="num"> <span> 1,678,055 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.18 </span> </td> <td class="num"> <span> 6,430 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 480 </span> </td> <td class="num"> <span> 6,020 </span> </td> <td class="num"> <span> 6,620 </span> </td> <td class="num"> <span> 5,970 </span> </td> <td class="num"> <span> 2,168,857 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.17 </span> </td> <td class="num"> <span> 5,950 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 20 </span> </td> <td class="num"> <span> 6,100 </span> </td> <td class="num"> <span> 6,180 </span> </td> <td class="num"> <span> 5,840 </span> </td> <td class="num"> <span> 1,982,922 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.16 </span> </td> <td class="num"> <span> 5,930 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 290 </span> </td> <td class="num"> <span> 5,620 </span> </td> <td class="num"> <span> 5,930 </span> </td> <td class="num"> <span> 5,350 </span> </td> <td class="num"> <span> 839,434 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.15 </span> </td> <td class="num"> <span> 5,640 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 260 </span> </td> <td class="num"> <span> 5,370 </span> </td> <td class="num"> <span> 5,660 </span> </td> <td class="num"> <span> 5,300 </span> </td> <td class="num"> <span> 702,104 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.14 </span> </td> <td class="num"> <span> 5,380 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 340 </span> </td> <td class="num"> <span> 5,060 </span> </td> <td class="num"> <span> 5,420 </span> </td> <td class="num"> <span> 5,060 </span> </td> <td class="num"> <span> 764,800 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.11 </span> </td> <td class="num"> <span> 5,040 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 60 </span> </td> <td class="num"> <span> 5,100 </span> </td> <td class="num"> <span> 5,170 </span> </td> <td class="num"> <span> 5,020 </span> </td> <td class="num"> <span> 134,558 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.10 </span> </td> <td class="num"> <span> 5,100 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 50 </span> </td> <td class="num"> <span> 5,000 </span> </td> <td class="num"> <span> 5,120 </span> </td> <td class="num"> <span> 4,970 </span> </td> <td class="num"> <span> 288,563 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.08 </span> </td> <td class="num"> <span> 5,050 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 110 </span> </td> <td class="num"> <span> 4,985 </span> </td> <td class="num"> <span> 5,050 </span> </td> <td class="num"> <span> 4,910 </span> </td> <td class="num"> <span> 223,839 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.07 </span> </td> <td class="num"> <span> 4,940 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 70 </span> </td> <td class="num"> <span> 4,990 </span> </td> <td class="num"> <span> 5,110 </span> </td> <td class="num"> <span> 4,905 </span> </td> <td class="num"> <span> 199,580 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.04 </span> </td> <td class="num"> <span> 5,010 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 90 </span> </td> <td class="num"> <span> 4,900 </span> </td> <td class="num"> <span> 5,050 </span> </td> <td class="num"> <span> 4,900 </span> </td> <td class="num"> <span> 188,467 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.02 </span> </td> <td class="num"> <span> 4,920 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 90 </span> </td> <td class="num"> <span> 4,930 </span> </td> <td class="num"> <span> 5,000 </span> </td> <td class="num"> <span> 4,900 </span> </td> <td class="num"> <span> 160,510 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.01 </span> </td> <td class="num"> <span> 5,010 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 10 </span> </td> <td class="num"> <span> 4,950 </span> </td> <td class="num"> <span> 5,050 </span> </td> <td class="num"> <span> 4,950 </span> </td> <td class="num"> <span> 246,145 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.30 </span> </td> <td class="num"> <span> 5,000 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 10 </span> </td> <td class="num"> <span> 5,180 </span> </td> <td class="num"> <span> 5,300 </span> </td> <td class="num"> <span> 4,990 </span> </td> <td class="num"> <span> 705,046 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.27 </span> </td> <td class="num"> <span> 5,010 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 50 </span> </td> <td class="num"> <span> 5,020 </span> </td> <td class="num"> <span> 5,080 </span> </td> <td class="num"> <span> 4,865 </span> </td> <td class="num"> <span> 408,859 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.26 </span> </td> <td class="num"> <span> 5,060 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 5,130 </span> </td> <td class="num"> <span> 5,200 </span> </td> <td class="num"> <span> 4,965 </span> </td> <td class="num"> <span> 404,633 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.25 </span> </td> <td class="num"> <span> 5,060 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 270 </span> </td> <td class="num"> <span> 5,280 </span> </td> <td class="num"> <span> 5,320 </span> </td> <td class="num"> <span> 5,040 </span> </td> <td class="num"> <span> 441,923 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.24 </span> </td> <td class="num"> <span> 5,330 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 10 </span> </td> <td class="num"> <span> 5,300 </span> </td> <td class="num"> <span> 5,370 </span> </td> <td class="num"> <span> 5,280 </span> </td> <td class="num"> <span> 211,019 </span> </td> </tr> </tbody> </table> </div> <div class="main"> <h2 id="제주코딩베이스캠프공업"> 제주코딩베이스캠프 공업 </h2> <h3> <span style="color: salmon"> 일별 </span> 시세 </h3> <table class="table table-hover"> <tbody> <tr> <th scope="col"> 날짜 </th> <th scope="col"> 종가 </th> <th scope="col"> 전일비 </th> <th scope="col"> 시가 </th> <th scope="col"> 고가 </th> <th scope="col"> 저가 </th> <th scope="col"> 거래량 </th> </tr> <tr> <td align="center"> <span class="date"> 2019.10.23 </span> </td> <td class="num"> <span> 31,300 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 100 </span> </td> <td class="num"> <span> 31,150 </span> </td> <td class="num"> <span> 31,850 </span> </td> <td class="num"> <span> 30,450 </span> </td> <td class="num"> <span> 513,365 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.22 </span> </td> <td class="num"> <span> 31,200 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 100 </span> </td> <td class="num"> <span> 31,450 </span> </td> <td class="num"> <span> 31,750 </span> </td> <td class="num"> <span> 30,100 </span> </td> <td class="num"> <span> 938,845 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.21 </span> </td> <td class="num"> <span> 31,300 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 500 </span> </td> <td class="num"> <span> 31,250 </span> </td> <td class="num"> <span> 32,800 </span> </td> <td class="num"> <span> 30,500 </span> </td> <td class="num"> <span> 1,774,049 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.18 </span> </td> <td class="num"> <span> 30,800 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 2,400 </span> </td> <td class="num"> <span> 28,700 </span> </td> <td class="num"> <span> 31,100 </span> </td> <td class="num"> <span> 28,400 </span> </td> <td class="num"> <span> 1,731,279 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.17 </span> </td> <td class="num"> <span> 28,400 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 700 </span> </td> <td class="num"> <span> 28,050 </span> </td> <td class="num"> <span> 29,200 </span> </td> <td class="num"> <span> 27,950 </span> </td> <td class="num"> <span> 983,611 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.16 </span> </td> <td class="num"> <span> 27,700 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 900 </span> </td> <td class="num"> <span> 27,900 </span> </td> <td class="num"> <span> 28,200 </span> </td> <td class="num"> <span> 27,300 </span> </td> <td class="num"> <span> 1,003,434 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.15 </span> </td> <td class="num"> <span> 26,800 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 700 </span> </td> <td class="num"> <span> 26,250 </span> </td> <td class="num"> <span> 27,000 </span> </td> <td class="num"> <span> 25,850 </span> </td> <td class="num"> <span> 589,982 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.14 </span> </td> <td class="num"> <span> 26,100 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 100 </span> </td> <td class="num"> <span> 26,500 </span> </td> <td class="num"> <span> 26,550 </span> </td> <td class="num"> <span> 25,750 </span> </td> <td class="num"> <span> 335,940 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.11 </span> </td> <td class="num"> <span> 26,200 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 26,650 </span> </td> <td class="num"> <span> 26,700 </span> </td> <td class="num"> <span> 25,700 </span> </td> <td class="num"> <span> 531,894 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.10 </span> </td> <td class="num"> <span> 26,200 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 1,700 </span> </td> <td class="num"> <span> 24,750 </span> </td> <td class="num"> <span> 26,300 </span> </td> <td class="num"> <span> 24,700 </span> </td> <td class="num"> <span> 1,060,562 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.08 </span> </td> <td class="num"> <span> 24,500 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 850 </span> </td> <td class="num"> <span> 23,600 </span> </td> <td class="num"> <span> 24,600 </span> </td> <td class="num"> <span> 23,150 </span> </td> <td class="num"> <span> 336,803 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.07 </span> </td> <td class="num"> <span> 23,650 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 450 </span> </td> <td class="num"> <span> 24,200 </span> </td> <td class="num"> <span> 24,400 </span> </td> <td class="num"> <span> 23,550 </span> </td> <td class="num"> <span> 285,608 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.04 </span> </td> <td class="num"> <span> 24,100 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 400 </span> </td> <td class="num"> <span> 24,300 </span> </td> <td class="num"> <span> 24,700 </span> </td> <td class="num"> <span> 23,900 </span> </td> <td class="num"> <span> 236,640 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.02 </span> </td> <td class="num"> <span> 24,500 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 24,100 </span> </td> <td class="num"> <span> 24,900 </span> </td> <td class="num"> <span> 24,000 </span> </td> <td class="num"> <span> 258,642 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.01 </span> </td> <td class="num"> <span> 24,500 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 400 </span> </td> <td class="num"> <span> 24,700 </span> </td> <td class="num"> <span> 25,200 </span> </td> <td class="num"> <span> 24,350 </span> </td> <td class="num"> <span> 368,213 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.30 </span> </td> <td class="num"> <span> 24,100 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 300 </span> </td> <td class="num"> <span> 23,300 </span> </td> <td class="num"> <span> 24,150 </span> </td> <td class="num"> <span> 22,950 </span> </td> <td class="num"> <span> 369,465 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.27 </span> </td> <td class="num"> <span> 23,800 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 300 </span> </td> <td class="num"> <span> 24,050 </span> </td> <td class="num"> <span> 24,600 </span> </td> <td class="num"> <span> 23,400 </span> </td> <td class="num"> <span> 300,900 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.26 </span> </td> <td class="num"> <span> 24,100 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 200 </span> </td> <td class="num"> <span> 24,650 </span> </td> <td class="num"> <span> 24,800 </span> </td> <td class="num"> <span> 23,850 </span> </td> <td class="num"> <span> 227,601 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.25 </span> </td> <td class="num"> <span> 24,300 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 1,200 </span> </td> <td class="num"> <span> 25,200 </span> </td> <td class="num"> <span> 25,450 </span> </td> <td class="num"> <span> 24,200 </span> </td> <td class="num"> <span> 367,106 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.24 </span> </td> <td class="num"> <span> 25,500 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 150 </span> </td> <td class="num"> <span> 25,650 </span> </td> <td class="num"> <span> 25,800 </span> </td> <td class="num"> <span> 25,150 </span> </td> <td class="num"> <span> 248,811 </span> </td> </tr> </tbody> </table> </div> <div class="main"> <h2 id="제주코딩베이스캠프출판사"> 제주코딩베이스캠프 출판사 </h2> <h3> <span style="color: salmon"> 일별 </span> 시세 </h3> <table class="table table-hover"> <tbody> <tr> <th scope="col"> 날짜 </th> <th scope="col"> 종가 </th> <th scope="col"> 전일비 </th> <th scope="col"> 시가 </th> <th scope="col"> 고가 </th> <th scope="col"> 저가 </th> <th scope="col"> 거래량 </th> </tr> <tr> <td align="center "> <span class="date"> 2019.10.23 </span> </td> <td class="num"> <span> 13,250 </span> </td> <td class="num"> <img alt="하락 " height="6 " src="ico_down.gif " style="margin-right:4px; " width="7 "/> <span class="tah p11 nv01"> 100 </span> </td> <td class="num"> <span> 13,400 </span> </td> <td class="num"> <span> 13,450 </span> </td> <td class="num"> <span> 13,150 </span> </td> <td class="num"> <span> 83,405 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.22 </span> </td> <td class="num"> <span> 13,350 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 150 </span> </td> <td class="num"> <span> 13,500 </span> </td> <td class="num"> <span> 13,600 </span> </td> <td class="num"> <span> 13,250 </span> </td> <td class="num"> <span> 160,439 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.21 </span> </td> <td class="num"> <span> 13,500 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 450 </span> </td> <td class="num"> <span> 13,150 </span> </td> <td class="num"> <span> 13,550 </span> </td> <td class="num"> <span> 13,000 </span> </td> <td class="num"> <span> 237,001 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.18 </span> </td> <td class="num"> <span> 13,050 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 350 </span> </td> <td class="num"> <span> 12,850 </span> </td> <td class="num"> <span> 13,450 </span> </td> <td class="num"> <span> 12,850 </span> </td> <td class="num"> <span> 278,034 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.17 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 450 </span> </td> <td class="num"> <span> 13,100 </span> </td> <td class="num"> <span> 13,150 </span> </td> <td class="num"> <span> 12,650 </span> </td> <td class="num"> <span> 179,950 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.16 </span> </td> <td class="num"> <span> 13,150 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 600 </span> </td> <td class="num"> <span> 12,650 </span> </td> <td class="num"> <span> 13,800 </span> </td> <td class="num"> <span> 12,650 </span> </td> <td class="num"> <span> 615,073 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.15 </span> </td> <td class="num"> <span> 12,550 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 150 </span> </td> <td class="num"> <span> 12,800 </span> </td> <td class="num"> <span> 12,800 </span> </td> <td class="num"> <span> 12,550 </span> </td> <td class="num"> <span> 128,599 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.14 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 12,850 </span> </td> <td class="num"> <span> 12,850 </span> </td> <td class="num"> <span> 12,600 </span> </td> <td class="num"> <span> 47,049 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.11 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 150 </span> </td> <td class="num"> <span> 12,550 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <span> 12,450 </span> </td> <td class="num"> <span> 60,017 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.10 </span> </td> <td class="num"> <span> 12,550 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 12,400 </span> </td> <td class="num"> <span> 12,750 </span> </td> <td class="num"> <span> 12,350 </span> </td> <td class="num"> <span> 82,049 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.08 </span> </td> <td class="num"> <span> 12,550 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 150 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <span> 12,750 </span> </td> <td class="num"> <span> 12,500 </span> </td> <td class="num"> <span> 75,452 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.07 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 50 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <span> 12,800 </span> </td> <td class="num"> <span> 12,550 </span> </td> <td class="num"> <span> 98,403 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.04 </span> </td> <td class="num"> <span> 12,750 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 150 </span> </td> <td class="num"> <span> 12,900 </span> </td> <td class="num"> <span> 12,950 </span> </td> <td class="num"> <span> 12,700 </span> </td> <td class="num"> <span> 89,815 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.02 </span> </td> <td class="num"> <span> 12,900 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 450 </span> </td> <td class="num"> <span> 13,250 </span> </td> <td class="num"> <span> 13,300 </span> </td> <td class="num"> <span> 12,900 </span> </td> <td class="num"> <span> 157,254 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.01 </span> </td> <td class="num"> <span> 13,350 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 50 </span> </td> <td class="num"> <span> 13,250 </span> </td> <td class="num"> <span> 13,400 </span> </td> <td class="num"> <span> 13,050 </span> </td> <td class="num"> <span> 125,442 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.30 </span> </td> <td class="num"> <span> 13,300 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 150 </span> </td> <td class="num"> <span> 13,150 </span> </td> <td class="num"> <span> 13,500 </span> </td> <td class="num"> <span> 13,100 </span> </td> <td class="num"> <span> 131,064 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.27 </span> </td> <td class="num"> <span> 13,150 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 100 </span> </td> <td class="num"> <span> 12,950 </span> </td> <td class="num"> <span> 13,150 </span> </td> <td class="num"> <span> 12,900 </span> </td> <td class="num"> <span> 52,919 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.26 </span> </td> <td class="num"> <span> 13,050 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 13,200 </span> </td> <td class="num"> <span> 13,200 </span> </td> <td class="num"> <span> 12,950 </span> </td> <td class="num"> <span> 153,270 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.25 </span> </td> <td class="num"> <span> 13,050 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 300 </span> </td> <td class="num"> <span> 13,300 </span> </td> <td class="num"> <span> 13,600 </span> </td> <td class="num"> <span> 13,050 </span> </td> <td class="num"> <span> 227,991 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.24 </span> </td> <td class="num"> <span> 13,350 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 50 </span> </td> <td class="num"> <span> 13,250 </span> </td> <td class="num"> <span> 13,750 </span> </td> <td class="num"> <span> 13,250 </span> </td> <td class="num"> <span> 204,286 </span> </td> </tr> </tbody> </table> </div> <div class="main"> <h2 id="제주코딩베이스캠프학원"> 제주코딩베이스캠프 학원 </h2> <h3> <span style="color: salmon"> 일별 </span> 시세 </h3> <table class="table table-hover"> <tbody> <tr> <th scope="col"> 날짜 </th> <th scope="col"> 종가 </th> <th scope="col"> 전일비 </th> <th scope="col"> 시가 </th> <th scope="col"> 고가 </th> <th scope="col"> 저가 </th> <th scope="col"> 거래량 </th> </tr> <tr> <td align="center "> <span class="date"> 2019.10.23 </span> </td> <td class="num"> <span> 2,600 </span> </td> <td class="num"> <img height="6 " src="ico_up.gif " style="margin-right:4px; " width="7 "/> <span> 600 </span> </td> <td class="num"> <span> 2,055 </span> </td> <td class="num"> <span> 2,600 </span> </td> <td class="num"> <span> 2,020 </span> </td> <td class="num"> <span> 2,203,110 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.22 </span> </td> <td class="num"> <span> 2,000 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 5 </span> </td> <td class="num"> <span> 1,985 </span> </td> <td class="num"> <span> 2,005 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <span> 32,212 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.21 </span> </td> <td class="num"> <span> 1,995 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 30 </span> </td> <td class="num"> <span> 2,025 </span> </td> <td class="num"> <span> 2,035 </span> </td> <td class="num"> <span> 1,975 </span> </td> <td class="num"> <span> 35,186 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.18 </span> </td> <td class="num"> <span> 2,025 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 40 </span> </td> <td class="num"> <span> 1,985 </span> </td> <td class="num"> <span> 2,050 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <span> 108,481 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.17 </span> </td> <td class="num"> <span> 1,985 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 10 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <span> 1,990 </span> </td> <td class="num"> <span> 1,955 </span> </td> <td class="num"> <span> 20,766 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.16 </span> </td> <td class="num"> <span> 1,975 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 5 </span> </td> <td class="num"> <span> 1,985 </span> </td> <td class="num"> <span> 1,995 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <span> 19,243 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.15 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 20 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <span> 1,960 </span> </td> <td class="num"> <span> 35,658 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.14 </span> </td> <td class="num"> <span> 1,960 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 1,955 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <span> 1,935 </span> </td> <td class="num"> <span> 26,698 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.11 </span> </td> <td class="num"> <span> 1,960 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 45 </span> </td> <td class="num"> <span> 1,925 </span> </td> <td class="num"> <span> 1,965 </span> </td> <td class="num"> <span> 1,910 </span> </td> <td class="num"> <span> 45,469 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.10 </span> </td> <td class="num"> <span> 1,915 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 15 </span> </td> <td class="num"> <span> 1,885 </span> </td> <td class="num"> <span> 1,915 </span> </td> <td class="num"> <span> 1,885 </span> </td> <td class="num"> <span> 32,773 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.08 </span> </td> <td class="num"> <span> 1,900 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 20 </span> </td> <td class="num"> <span> 1,915 </span> </td> <td class="num"> <span> 1,935 </span> </td> <td class="num"> <span> 1,885 </span> </td> <td class="num"> <span> 62,433 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.07 </span> </td> <td class="num"> <span> 1,920 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 50 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <span> 1,895 </span> </td> <td class="num"> <span> 89,504 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.04 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 20 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <span> 2,005 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <span> 47,894 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.02 </span> </td> <td class="num"> <span> 1,990 </span> </td> <td class="num"> <span> 0 </span> </td> <td class="num"> <span> 1,975 </span> </td> <td class="num"> <span> 2,030 </span> </td> <td class="num"> <span> 1,965 </span> </td> <td class="num"> <span> 74,176 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.10.01 </span> </td> <td class="num"> <span> 1,990 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 20 </span> </td> <td class="num"> <span> 1,975 </span> </td> <td class="num"> <span> 2,005 </span> </td> <td class="num"> <span> 1,965 </span> </td> <td class="num"> <span> 44,690 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.30 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 5 </span> </td> <td class="num"> <span> 1,980 </span> </td> <td class="num"> <span> 2,000 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <span> 34,087 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.27 </span> </td> <td class="num"> <span> 1,975 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 5 </span> </td> <td class="num"> <span> 1,975 </span> </td> <td class="num"> <span> 2,060 </span> </td> <td class="num"> <span> 1,965 </span> </td> <td class="num"> <span> 109,372 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.26 </span> </td> <td class="num"> <span> 1,970 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 30 </span> </td> <td class="num"> <span> 2,000 </span> </td> <td class="num"> <span> 2,035 </span> </td> <td class="num"> <span> 1,950 </span> </td> <td class="num"> <span> 83,120 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.25 </span> </td> <td class="num"> <span> 2,000 </span> </td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/> <span class="tah p11 nv01"> 65 </span> </td> <td class="num"> <span> 2,065 </span> </td> <td class="num"> <span> 2,065 </span> </td> <td class="num"> <span> 1,985 </span> </td> <td class="num"> <span> 78,144 </span> </td> </tr> <tr> <td align="center"> <span class="date"> 2019.09.24 </span> </td> <td class="num"> <span> 2,065 </span> </td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/> <span> 30 </span> </td> <td class="num"> <span> 2,020 </span> </td> <td class="num"> <span> 2,090 </span> </td> <td class="num"> <span> 2,020 </span> </td> <td class="num"> <span> 139,085 </span> </td> </tr> </tbody> </table> </div> <script src="https://code.jquery.com/jquery-3.5.1.js"> </script> <script type="text/javascript"> $('.help').hover(function() { $('.lyr_section').css('display', 'block'); }, function() { $('.lyr_section').css('display', 'none'); }); </script> </body> </html>
html 파일로 저장¶
In [21]:
f = open('test.html','w',encoding='utf-8') #파일 다운받아 분석
f.write(html)
f.close()
BeautifulSoup¶
- str타입의 html 데이터를 html 구조를 가진 데이터로 가공해주는 라이브러리
- BeautifulSoup(markup,"html.parser") ##가장 많이쓰는 parser
- BeautifulSoup(markup,"lxml")
- BeautifulSoup(markup,"lxml-xml") -BeautifulSoup(markup,"xml")
- BeautifulSoup(markip,"html5lib")
In [24]:
response = requests.get('http://www.paullab.co.kr/stock.html')
response.encoding = 'utf-8'
html = response.text
soup = bs4.BeautifulSoup(html, 'html.parser')
In [25]:
soup.title #태그에 바로 접근 가능
Out[25]:
<title>Document</title>
In [27]:
soup.title.string #string만 뽑기
Out[27]:
'Document'
In [28]:
soup.title.text #string과 같은기능
Out[28]:
'Document'
In [29]:
soup.title.parent.name #태그를 출력
Out[29]:
'head'
In [30]:
soup.tr #처음만나는 table row 출력
Out[30]:
<tr> <th class="strong" scope="row">시가총액</th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td class="strong"><em id="_market_sum">349조 2,323</em>억원</td> </tr>
In [31]:
soup.td
Out[31]:
<td class="strong"><em id="_market_sum">349조 2,323</em>억원</td>
In [32]:
soup.th
Out[32]:
<th class="strong" scope="row">시가총액</th>
In [44]:
soup.table
Out[44]:
<table class="border-style" summary="시가총액 정보"> <tr> <th class="strong" scope="row">시가총액</th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td class="strong"><em id="_market_sum">349조 2,323</em>억원</td> </tr> <tr> <th scope="row"> <a class="link_site" href="#">시가총액순위<i class="fas fa-caret-right"></i></a> </th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td>위니브월드 <em id="_market_sum">1</em>위</td> </tr> <tr> <th scope="row">상장주식수</th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td><em id="_market_sum">5,969,782,550</em></td> </tr> </table>
In [45]:
soup.find('title')
Out[45]:
<title>Document</title>
In [46]:
soup.find('tr')
Out[46]:
<tr> <th class="strong" scope="row">시가총액</th> <!-- 공백은 의도적으로 넣은 것입니다. --> <td class="strong"><em id="_market_sum">349조 2,323</em>억원</td> </tr>
In [47]:
soup.find('th')
Out[47]:
<th class="strong" scope="row">시가총액</th>
In [48]:
soup.find(id= ('update'))
Out[48]:
<span id="update">update : 20.12.30 / 해외 크롤링이 Block되어 있으므로 크롤링이 안되시는 분은 이 URL(http://paullab.synology.me/stock.html)을 사용하세요.</span>
In [49]:
soup.find('head').find('title')
Out[49]:
<title>Document</title>
In [51]:
soup.find('h2',id = '제주코딩베이스캠프연구원')
Out[51]:
<h2 id="제주코딩베이스캠프연구원">제주코딩베이스캠프 연구원</h2>
In [53]:
soup.find_all('h2') #모든 h2찾기 리스트로 반환
Out[53]:
[<h2>(주)캣네생선</h2>, <h2 id="제주코딩베이스캠프연구원">제주코딩베이스캠프 연구원</h2>, <h2 id="제주코딩베이스캠프공업">제주코딩베이스캠프 공업</h2>, <h2 id="제주코딩베이스캠프출판사">제주코딩베이스캠프 출판사</h2>, <h2 id="제주코딩베이스캠프학원">제주코딩베이스캠프 학원</h2>]
In [54]:
soup.find_all('table',class_ = 'table')
Out[54]:
[<table class="table table-hover"> <tbody> <tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr> <tr> <td align="center "><span class="date">2019.10.23</span></td> <td class="num"><span>6,650</span></td> <td class="num"> <img alt="상승 " height="6 " src="ico_up.gif " style="margin-right:4px; " width="7 "/><span> 20 </span> </td> <td class="num"><span>6,590</span></td> <td class="num"><span>6,830</span></td> <td class="num"><span>6,580</span></td> <td class="num"><span>398,421</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>6,630</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 190 </span> </td> <td class="num"><span>6,830</span></td> <td class="num"><span>6,930</span></td> <td class="num"><span>6,530</span></td> <td class="num"><span>919,571</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>6,820</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 390 </span> </td> <td class="num"><span>6,440</span></td> <td class="num"><span>6,890</span></td> <td class="num"><span>6,360</span></td> <td class="num"><span>1,678,055</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>6,430</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 480 </span> </td> <lt;td class="num"><span>6,020</span></td> <td class="num"><span>6,620</span></td> <td class="num"><span>5,970</span></td> <td class="num"><span>2,168,857</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>5,950</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 20 </span> </td> <td class="num"><span>6,100</span></td> <td class="num"><span>6,180</span></td> <td class="num"><span>5,840</span></td> <td class="num"><span>1,982,922</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>5,930</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 290 </span> </td> <td class="num"><span>5,620</span></td> <td class="num"><span>5,930</span></td> <td class="num"><span>5,350</span></td> <td class="num"><span>839,434</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>5,640</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 260 </span> </td> <td class="num"><span>5,370</span></td> <td class="num"><span>5,660</span></td> <td class="num"><span>5,300</span></td> <td class="num"><span>702,104</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>5,380</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 340 </span> </td> <td class="num"><span>5,060</span></td> <td class="num"><span>5,420</span></td> <td class="num"><span>5,060</span></td> <td class="num"><span>764,800</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>5,040</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 60 </span> </td> <td class="num"><span>5,100</span></td> <td class="num"><span>5,170</span></td> <td class="num"><span>5,020</span></td> <td class="num"><span>134,558</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>5,100</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 50 </span> </td> <td class="num"><span>5,000</span></td> <td class="num"><span>5,120</span></td> <td class="num"><span>4,970</span></td> <td class="num"><span>288,563</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>5,050</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 110 </span> </td> <td class="num"><span>4,985</span></td> <td class="num"><span>5,050</span></td> <td class="num"><span>4,910</span></td> <td class="num"><span>223,839</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>4,940</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 70 </span> </td> <td class="num"><span>4,990</span></td> <td class="num"><span>5,110</span></td> <td class="num"><span>4,905</span></td> <td class="num"><span>199,580</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>5,010</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 90 </span> </td> <td class="num"><span>4,900</span></td> <td class="num"><span>5,050</span></td> <td class="num"><span>4,900</span></td> <td class="num"><span>188,467</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>4,920</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 90 </span> </td> <td class="num"><span>4,930</span></td> <td class="num"><span>5,000</span></td> <td class="num"><span>4,900</span></td> <td class="num"><span>160,510</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>5,010</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 10 </span> </td> <td class="num"><span>4,950</span></td> <td class="num"><span>5,050</span></td> <td class="num"><span>4,950</span></td> <td class="num"><span>246,145</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>5,000</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 10 </span> </td> <td class="num"><span>5,180</span></td> <td class="num"><span>5,300</span></td> <td class="num"><span>4,990</span></td> <td class="num"><span>705,046</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>5,010</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 50 </span> </td> <td class="num"><span>5,020</span></td> <td class="num"><span>5,080</span></td> <td class="num"><span>4,865</span></td> <td class="num"><span>408,859</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>5,060</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>5,130</span></td> <td class="num"><span>5,200</span></td> <td class="num"><span>4,965</span></td> <td class="num"><span>404,633</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>5,060</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 270 </span> </td> <td class="num"><span>5,280</span></td> <td class="num"><span>5,320</span></td> <td class="num"><span>5,040</span></td> <td class="num"><span>441,923</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>5,330</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 10 </span> </td> <td class="num"><span>5,300</span></td> <td class="num"><span>5,370</span></td> <td class="num"><span>5,280</span></td> <td class="num"><span>211,019</span></td> </tr> </tbody> </table>, <table class="table table-hover"> <tbody> <tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr> <tr> <td align="center"><span class="date">2019.10.23</span></td> <td class="num"><span>31,300</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 100 </span> </td> <td class="num"><span>31,150</span></td> <td class="num"><span>31,850</span></td> <td class="num"><span>30,450</span></td> <td class="num"><span>513,365</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>31,200</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 100 </span> </td> <td class="num"><span>31,450</span></td> <td class="num"><span>31,750</span></td> <td class="num"><span>30,100</span></td> <td class="num"><span>938,845</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>31,300</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 500 </span> </td> <td class="num"><span>31,250</span></td> <td class="num"><span>32,800</span></td> <td class="num"><span>30,500</span></td> <td class="num"><span>1,774,049</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>30,800</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 2,400 </span> </td> <td class="num"><span>28,700</span></td> <td class="num"><span>31,100</span></td> <td class="num"><span>28,400</span></td> <td class="num"><span>1,731,279</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>28,400</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 700 </span> </td> <td class="num"><span>28,050</span></td> <td class="num"><span>29,200</span></td> <td class="num"><span>27,950</span></td> <td class="num"><span>983,611</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>27,700</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 900 </span> </td> <td class="num"><span>27,900</span></td> <td class="num"><span>28,200</span></td> <td class="num"><span>27,300</span></td> <td class="num"><span>1,003,434</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>26,800</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 700 </span> </td> <td class="num"><span>26,250</span></td> <td class="num"><span>27,000</span></td> <td class="num"><span>25,850</span></td> <td class="num"><span>589,982</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>26,100</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 100 </span> </td> <td class="num"><span>26,500</span></td> <td class="num"><span>26,550</span></td> <td class="num"><span>25,750</span></td> <td class="num"><span>335,940</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>26,200</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>26,650</span></td> <td class="num"><span>26,700</span></td> <td class="num"><span>25,700</span></td> <td class="num"><span>531,894</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>26,200</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 1,700 </span> </td> <td class="num"><span>24,750</span></td> <td class="num"><span>26,300</span></td> <td class="num"><span>24,700</span></td> <td class="num"><span>1,060,562</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>24,500</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 850 </span> </td> <td class="num"><span>23,600</span></td> <td class="num"><span>24,600</span></td> <td class="num"><span>23,150</span></td> <td class="num"><span>336,803</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>23,650</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 450 </span> </td> <td class="num"><span>24,200</span></td> <td class="num"><span>24,400</span></td> <td class="num"><span>23,550</span></td> <td class="num"><span>285,608</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>24,100</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 400 </span> </td> <td class="num"><span>24,300</span></td> <td class="num"><span>24,700</span></td> <td class="num"><span>23,900</span></td> <td class="num"><span>236,640</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>24,500</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>24,100</span></td> <td class="num"><span>24,900</span></td> <td class="num"><span>24,000</span></td> <td class="num"><span>258,642</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>24,500</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 400 </span> </td> <td class="num"><span>24,700</span></td> <td class="num"><span>25,200</span></td> <td class="num"><span>24,350</span></td> <td class="num"><span>368,213</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>24,100</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 300 </span> </td> <td class="num"><span>23,300</span></td> <td class="num"><span>24,150</span></td> <td class="num"><span>22,950</span></td> <td class="num"><span>369,465</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>23,800</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 300 </span> </td> <td class="num"><span>24,050</span></td> <td class="num"><span>24,600</span></td> <td class="num"><span>23,400</span></td> <td class="num"><span>300,900</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>24,100</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 200 </span> </td> <td class="num"><span>24,650</span></td> <td class="num"><span>24,800</span></td> <td class="num"><span>23,850</span></td> <td class="num"><span>227,601</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>24,300</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 1,200 </span> </td> <td class="num"><span>25,200</span></td> <td class="num"><span>25,450</span></td> <td class="num"><span>24,200</span></td> <td class="num"><span>367,106</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>25,500</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>25,650</span></td> <td class="num"><span>25,800</span></td> <td class="num"><span>25,150</span></td> <td class="num"><span>248,811</span></td> </tr> </tbody> </table>, <table class="table table-hover"> <tbody> <tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr> <tr> <td align="center "><span class="date">2019.10.23</span></td> <td class="num"><span>13,250</span></td> <td class="num"> <img alt="하락 " height="6 " src="ico_down.gif " style="margin-right:4px; " width="7 "/><span class="tah p11 nv01"> 100 </span> </td> <td class="num"><span>13,400</span></td> <td class="num"><span>13,450</span></td> <td class="num"><span>13,150</span></td> <td class="num"><span>83,405</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>13,350</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>13,500</span></td> <td class="num"><span>13,600</span></td> <td class="num"><span>13,250</span></td> <td class="num"><span>160,439</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>13,500</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 450 </span> </td> <td class="num"><span>13,150</span></td> <td class="num"><span>13,550</span></td> <td class="num"><span>13,000</span></td> <td class="num"><span>237,001</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>13,050</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 350 </span> </td> <td class="num"><span>12,850</span></td> <td class="num"><span>13,450</span></td> <td class="num"><span>12,850</span></td> <td class="num"><span>278,034</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 450 </span> </td> <td class="num"><span>13,100</span></td> <td class="num"><span>13,150</span></td> <td class="num"><span>12,650</span></td> <td class="num"><span>179,950</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>13,150</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 600 </span> </td> <td class="num"><span>12,650</span></td> <td class="num"><span>13,800</span></td> <td class="num"><span>12,650</span></td> <td class="num"><span>615,073</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>12,550</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>12,800</span></td> <td class="num"><span>12,800</span></td> <td class="num"><span>12,550</span></td> <td class="num"><span>128,599</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>12,850</span></td> <td class="num"><span>12,850</span></td> <td class="num"><span>12,600</span></td> <td class="num"><span>47,049</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 150 </span> </td> <td class="num"><span>12,550</span></td> <td class="num"><span>12,700</span></td> <td class="num"><span>12,450</span></td> <td class="num"><span>60,017</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>12,550</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>12,400</span></td> <td class="num"><span>12,750</span></td> <td class="num"><span>12,350</span></td> <td class="num"><span>82,049</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>12,550</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>12,700</span></td> <td class="num"><span>12,750</span></td> <td class="num"><span>12,500</span></td> <td class="num"><span>75,452</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 50 </span> </td> <td class="num"><span>12,700</span></td> <td class="num"><span>12,800</span></td> <td class="num"><span>12,550</span></td> <td class="num"><span>98,403</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>12,750</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>12,900</span></td> <td class="num"><span>12,950</span></td> <td class="num"><span>12,700</span></td> <td class="num"><span>89,815</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>12,900</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 450 </span> </td> <td class="num"><span>13,250</span></td> <td class="num"><span>13,300</span></td> <td class="num"><span>12,900</span></td> <td class="num"><span>157,254</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>13,350</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 50 </span> </td> <td class="num"><span>13,250</span></td> <td class="num"><span>13,400</span></td> <td class="num"><span>13,050</span></td> <td class="num"><span>125,442</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>13,300</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 150 </span> </td> <td class="num"><span>13,150</span></td> <td class="num"><span>13,500</span></td> <td class="num"><span>13,100</span></td> <td class="num"><span>131,064</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>13,150</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 100 </span> </td> <td class="num"><span>12,950</span></td> <td class="num"><span>13,150</span></td> <td class="num"><span>12,900</span></td> <td class="num"><span>52,919</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>13,050</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>13,200</span></td> <td class="num"><span>13,200</span></td> <td class="num"><span>12,950</span></td> <td class="num"><span>153,270</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>13,050</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 300 </span> </td> <td class="num"><span>13,300</span></td> <td class="num"><span>13,600</span></td> <td class="num"><span>13,050</span></td> <td class="num"><span>227,991</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>13,350</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 50 </span> </td> <td class="num"><span>13,250</span></td> <td class="num"><span>13,750</span></td> <td class="num"><span>13,250</span></td> <td class="num"><span>204,286</span></td> </tr> </tbody> </table>, <table class="table table-hover"> <tbody> <tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr> <tr> <td align="center "><span class="date">2019.10.23</span></td> <td class="num"><span>2,600</span></td> <td class="num"> <img height="6 " src="ico_up.gif " style="margin-right:4px; " width="7 "/><span> 600 </span> </td> <td class="num"><span>2,055</span></td> <td class="num"><span>2,600</span></td> <td class="num"><span>2,020</span></td> <td class="num"><span>2,203,110</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>2,000</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 5 </span> </td> <td class="num"><span>1,985</span></td> <td class="num"><span>2,005</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>32,212</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>1,995</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 30 </span> </td> <td class="num"><span>2,025</span></td> <td class="num"><span>2,035</span></td> <td class="num"><span>1,975</span></td> <td class="num"><span>35,186</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>2,025</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 40 </span> </td> <td class="num"><span>1,985</span></td> <td class="num"><span>2,050</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>108,481</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>1,985</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 10 </span> </td> <td class="num"><span>1,980</span></td> <td class="num"><span>1,990</span></td> <td class="num"><span>1,955</span></td> <td class="num"><span>20,766</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>1,975</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 5 </span> </td> <td class="num"><span>1,985</span></td> <td class="num"><span>1,995</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>19,243</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>1,980</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 20 </span> </td> <td class="num"><span>1,970</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>1,960</span></td> <td class="num"><span>35,658</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>1,960</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>1,955</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>1,935</span></td> <td class="num"><span>26,698</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>1,960</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 45 </span> </td> <td class="num"><span>1,925</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>1,910</span></td> <td class="num"><span>45,469</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>1,915</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 15 </span> </td> <td class="num"><span>1,885</span></td> <td class="num"><span>1,915</span></td> <td class="num"><span>1,885</span></td> <td class="num"><span>32,773</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>1,900</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 20 </span> </td> <td class="num"><span>1,915</span></td> <td class="num"><span>1,935</span></td> <td class="num"><span>1,885</span></td> <td class="num"><span>62,433</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>1,920</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 50 </span> </td> <td class="num"><span>1,970</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>1,895</span></td> <td class="num"><span>89,504</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>1,970</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 20 </span> </td> <td class="num"><span>1,980</span></td> <td class="num"><span>2,005</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>47,894</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>1,990</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>1,975</span></td> <td class="num"><span>2,030</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>74,176</span></td> </tr> <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>1,990</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 20 </span> </td> <td class="num"><span>1,975</span></td> <td class="num"><span>2,005</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>44,690</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>1,970</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 5 </span> </td> <td class="num"><span>1,980</span></td> <td class="num"><span>2,000</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>34,087</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>1,975</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 5 </span> </td> <td class="num"><span>1,975</span></td> <td class="num"><span>2,060</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>109,372</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>1,970</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 30 </span> </td> <td class="num"><span>2,000</span></td> <td class="num"><span>2,035</span></td> <td class="num"><span>1,950</span></td> <td class="num"><span>83,120</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>2,000</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 65 </span> </td> <td class="num"><span>2,065</span></td> <td class="num"><span>2,065</span></td> <td class="num"><span>1,985</span></td> <td class="num"><span>78,144</span></td> </tr> <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>2,065</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 30 </span> </td> <td class="num"><span>2,020</span></td> <td class="num"><span>2,090</span></td> <td class="num"><span>2,020</span></td> <td class="num"><span>139,085</span></td> </tr> </tbody> </table>]
In [11]:
soup = bs4.BeautifulSoup('''
<hojun id='jeju' class ='codingBaseCamp codingLevelup'>
hello world
</hojun>''')
tag = soup.hojun
tag
Out[11]:
<hojun class="codingBaseCamp codingLevelup" id="jeju"> hello world </hojun>
In [13]:
type(tag)
dir(tag)
Out[13]:
['__bool__', '__call__', '__class__', '__contains__', '__copy__', '__delattr__', '__delitem__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattr__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__unicode__', '__weakref__', '_all_strings', '_find_all', '_find_one', '_is_xml', '_lastRecursiveChild', '_last_descendant', '_should_pretty_print', 'append', 'attrs', 'can_be_empty_element', 'cdata_list_attributes', 'childGenerator', 'children', 'clear', 'contents', 'decode', 'decode_contents', 'decompose', 'decomposed', 'descendants', 'encode', 'encode_contents', 'extend', 'extract', 'fetchNextSiblings', 'fetchParents', 'fetchPrevious', 'fetchPreviousSiblings', 'find', 'findAll', 'findAllNext', 'findAllPrevious', 'findChild', 'findChildren', 'findNext', 'findNextSibling', 'findNextSiblings', 'findParent', 'findParents', 'findPrevious', 'findPreviousSibling', 'findPreviousSiblings', 'find_all', 'find_all_next', 'find_all_previous', 'find_next', 'find_next_sibling', 'find_next_siblings', 'find_parent', 'find_parents', 'find_previous', 'find_previous_sibling', 'find_previous_siblings', 'format_string', 'formatter_for_name', 'get', 'getText', 'get_attribute_list', 'get_text', 'has_attr', 'has_key', 'hidden', 'index', 'insert', 'insert_after', 'insert_before', 'isSelfClosing', 'is_empty_element', 'known_xml', 'name', 'namespace', 'next', 'nextGenerator', 'nextSibling', 'nextSiblingGenerator', 'next_element', 'next_elements', 'next_sibling', 'next_siblings', 'parent', 'parentGenerator', 'parents', 'parserClass', 'parser_class', 'prefix', 'preserve_whitespace_tags', 'prettify', 'previous', 'previousGenerator', 'previousSibling', 'previousSiblingGenerator', 'previous_element', 'previous_elements', 'previous_sibling', 'previous_siblings', 'recursiveChildGenerator', 'renderContents', 'replaceWith', 'replaceWithChildren', 'replace_with', 'replace_with_children', 'select', 'select_one', 'setup', 'smooth', 'string', 'strings', 'stripped_strings', 'text', 'unwrap', 'wrap']
In [15]:
tag.name
Out[15]:
'hojun'
In [16]:
tag['class']
Out[16]:
['codingBaseCamp', 'codingLevelup']
In [17]:
tag['id']
Out[17]:
'jeju'
In [19]:
tag.attrs
Out[19]:
{'id': 'jeju', 'class': ['codingBaseCamp', 'codingLevelup']}
In [20]:
tag.string
Out[20]:
'\n hello world\n '
In [21]:
tag.text
Out[21]:
'\n hello world\n '
In [22]:
tag.contents
Out[22]:
['\n hello world\n ']
In [23]:
for i in tag.children:
print(i)
hello world
In [25]:
tag.children
Out[25]:
<list_iterator at 0x28d62dc4100>
In [27]:
soup = bs4.BeautifulSoup('''
<ul>
<li id='jeju' class ='codingBaseCamp codingLevelup'>hello world</li>
<li id='jeju' class ='codingBaseCamp codingLevelup'>hello world</li>
<li id='jeju' class ='codingBaseCamp codingLevelup'>hello world</li>
</ul>
''')
tag = soup.ul
tag
Out[27]:
<ul> <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li> <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li> <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li> </ul>
In [29]:
tag.contents
Out[29]:
['\n', <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li>, '\n', <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li>, '\n', <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li>, '\n']
In [30]:
tag.li
Out[30]:
<li class="codingBaseCamp codingLevelup" id="jeju">hello world</li>
In [31]:
tag.li.parent
Out[31]:
<ul> <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li> <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li> <li class="codingBaseCamp codingLevelup" id="jeju">hello world</li> </ul>
Selector¶
- 태그에 좀 더 세밀한 접근이 가능
- class를 지칭할 때는 '.'을 사용하고, id를 지칭할 때는 '#'를 사용
- 탐색하고자 하는 태그가 특정태그 하위에 있을때 '>'를 사용
In [10]:
import requests
from bs4 import BeautifulSoup
response = requests.get('http://www.paullab.co.kr/stock.html')
response.encoding = 'utf-8'
html = response.text
soup = BeautifulSoup(html, 'html.parser')
In [11]:
soup.select('#update')
Out[11]:
[<span id="update">update : 20.12.30 / 해외 크롤링이 Block되어 있으므로 크롤링이 안되시는 분은 이 URL(http://paullab.synology.me/stock.html)을 사용하세요.</span>]
In [12]:
soup.select('.table > tr') #'table' class 안에 모든 tr태그 출력
#바로 아래 아니면 실행 안됨
Out[12]:
[]
In [13]:
soup.select('.table > tbody > tr') #'table' class 안에 tbody
#안에 모든 tr태그 출력
Out[13]:
[<tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr>, <tr> <td align="center "><span class="date">2019.10.23</span></td> <td class="num"><span>6,650</span></td> <td class="num"> <img alt="상승 " height="6 " src="ico_up.gif " style="margin-right:4px; " width="7 "/><span> 20 </span> </td> <td class="num"><span>6,590</span></td> <td class="num"><span>6,830</span></td> <td class="num"><span>6,580</span></td> <td class="num"><span>398,421</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>6,630</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 190 </span> </td> <td class="num"><span>6,830</span></td> <td class="num"><span>6,930</span></td> <td class="num"><span>6,530</span></td> <td class="num"><span>919,571</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>6,820</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 390 </span> </td> <td class="num"><span>6,440</span></td> <td class="num"><span>6,890</span></td> <td class="num"><span>6,360</span></td> <td class="num"><span>1,678,055</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>6,430</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 480 </span> </td> <td class="num"><span>6,020</span></td> <td class="num"><span>6,620</span></td> <td class="num"><span>5,970</span></td> <td class="num"><span>2,168,857</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>5,950</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 20 </span> </td> <td class="num"><span>6,100</span></td> <td class="num"><span>6,180</span></td> <td class="num"><span>5,840</span></td> <td class="num"><span>1,982,922</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>5,930</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 290 </span> </td> <td class="num"><span>5,620</span></td> <td class="num"><span>5,930</span></td> <td class="num"><span>5,350</span></td> <td class="num"><span>839,434</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>5,640</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 260 </span> </td> <td class="num"><span>5,370</span></td> <td class="num"><span>5,660</span></td> <td class="num"><span>5,300</span></td> <td class="num"><span>702,104</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>5,380</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 340 </span> </td> <td class="num"><span>5,060</span></td> <td class="num"><span>5,420</span></td> <td class="num"><span>5,060</span></td> <td class="num"><span>764,800</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>5,040</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 60 </span> </td> <td class="num"><span>5,100</span></td> <td class="num"><span>5,170</span></td> <td class="num"><span>5,020</span></td> <td class="num"><span>134,558</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>5,100</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 50 </span> </td> <td class="num"><span>5,000</span></td> <td class="num"><span>5,120</span></td> <td class="num"><span>4,970</span></td> <td class="num"><span>288,563</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>5,050</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 110 </span> </td> <td class="num"><span>4,985</span></td> <td class="num"><span>5,050</span></td> <td class="num"><span>4,910</span></td> <td class="num"><span>223,839</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>4,940</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 70 </span> </td> <td class="num"><span>4,990</span></td> <td class="num"><span>5,110</span></td> <td class="num"><span>4,905</span></td> <td class="num"><span>199,580</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>5,010</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 90 </span> </td> <td class="num"><span>4,900</span></td> <td class="num"><span>5,050</span></td> <td class="num"><span>4,900</span></td> <td class="num"><span>188,467</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>4,920</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 90 </span> </td> <td class="num"><span>4,930</span></td> <td class="num"><span>5,000</span></td> <td class="num"><span>4,900</span></td> <td class="num"><span>160,510</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>5,010</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 10 </span> </td> <td class="num"><span>4,950</span></td> <td class="num"><span>5,050</span></td> <td class="num"><span>4,950</span></td> <td class="num"><span>246,145</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>5,000</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 10 </span> </td> <td class="num"><span>5,180</span></td> <td class="num"><span>5,300</span></td> <td class="num"><span>4,990</span></td> <td class="num"><span>705,046</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>5,010</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 50 </span> </td> <td class="num"><span>5,020</span></td> <td class="num"><span>5,080</span></td> <td class="num"><span>4,865</span></td> <td class="num"><span>408,859</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>5,060</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>5,130</span></td> <td class="num"><span>5,200</span></td> <td class="num"><span>4,965</span></td> <td class="num"><span>404,633</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>5,060</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 270 </span> </td> <td class="num"><span>5,280</span></td> <td class="num"><span>5,320</span></td> <td class="num"><span>5,040</span></td> <td class="num"><span>441,923</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>5,330</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 10 </span> </td> <td class="num"><span>5,300</span></td> <td class="num"><span>5,370</span></td> <td class="num"><span>5,280</span></td> <td class="num"><span>211,019</span></td> </tr>, <tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr>, <tr> <td align="center"><span class="date">2019.10.23</span></td> <td class="num"><span>31,300</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 100 </span> </td> <td class="num"><span>31,150</span></td> <td class="num"><span>31,850</span></td> <td class="num"><span>30,450</span></td> <td class="num"><span>513,365</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>31,200</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 100 </span> </td> <td class="num"><span>31,450</span></td> <td class="num"><span>31,750</span></td> <td class="num"><span>30,100</span></td> <td class="num"><span>938,845</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>31,300</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 500 </span> </td> <td class="num"><span>31,250</span></td> <td class="num"><span>32,800</span></td> <td class="num"><span>30,500</span></td> <td class="num"><span>1,774,049</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>30,800</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 2,400 </span> </td> <td class="num"><span>28,700</span></td> <td class="num"><span>31,100</span></td> <td class="num"><span>28,400</span></td> <td class="num"><span>1,731,279</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>28,400</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 700 </span> </td> <td class="num"><span>28,050</span></td> <td class="num"><span>29,200</span></td> <td class="num"><span>27,950</span></td> <td class="num"><span>983,611</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>27,700</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 900 </span> </td> <td class="num"><span>27,900</span></td> <td class="num"><span>28,200</span></td> <td class="num"><span>27,300</span></td> <td class="num"><span>1,003,434</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>26,800</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 700 </span> </td> <td class="num"><span>26,250</span></td> <td class="num"><span>27,000</span></td> <td class="num"><span>25,850</span></td> <td class="num"><span>589,982</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>26,100</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 100 </span> </td> <td class="num"><span>26,500</span></td> <td class="num"><span>26,550</span></td> <td class="num"><span>25,750</span></td> <td class="num"><span>335,940</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>26,200</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>26,650</span></td> <td class="num"><span>26,700</span></td> <td class="num"><span>25,700</span></td> <td class="num"><span>531,894</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>26,200</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 1,700 </span> </td> <td class="num"><span>24,750</span></td> <td class="num"><span>26,300</span></td> <td class="num"><span>24,700</span></td> <td class="num"><span>1,060,562</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>24,500</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 850 </span> </td> <td class="num"><span>23,600</span></td> <td class="num"><span>24,600</span></td> <td class="num"><span>23,150</span></td> <td class="num"><span>336,803</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>23,650</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 450 </span> </td> <td class="num"><span>24,200</span></td> <td class="num"><span>24,400</span></td> <td class="num"><span>23,550</span></td> <td class="num"><span>285,608</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>24,100</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 400 </span> </td> <td class="num"><span>24,300</span></td> <td class="num"><span>24,700</span></td> <td class="num"><span>23,900</span></td> <td class="num"><span>236,640</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>24,500</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>24,100</span></td> <td class="num"><span>24,900</span></td> <td class="num"><span>24,000</span></td> <td class="num"><span>258,642</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>24,500</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 400 </span> </td> <td class="num"><span>24,700</span></td> <td class="num"><span>25,200</span></td> <td class="num"><span>24,350</span></td> <td class="num"><span>368,213</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>24,100</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 300 </span> </td> <td class="num"><span>23,300</span></td> <td class="num"><span>24,150</span></td> <td class="num"><span>22,950</span></td> <td class="num"><span>369,465</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>23,800</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 300 </span> </td> <td class="num"><span>24,050</span></td> <td class="num"><span>24,600</span></td> <td class="num"><span>23,400</span></td> <td class="num"><span>300,900</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>24,100</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 200 </span> </td> <td class="num"><span>24,650</span></td> <td class="num"><span>24,800</span></td> <td class="num"><span>23,850</span></td> <td class="num"><span>227,601</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>24,300</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 1,200 </span> </td> <td class="num"><span>25,200</span></td> <td class="num"><span>25,450</span></td> <td class="num"><span>24,200</span></td> <td class="num"><span>367,106</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>25,500</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>25,650</span></td> <td class="num"><span>25,800</span></td> <td class="num"><span>25,150</span></td> <td class="num"><span>248,811</span></td> </tr>, <tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr>, <tr> <td align="center "><span class="date">2019.10.23</span></td> <td class="num"><span>13,250</span></td> <td class="num"> <img alt="하락 " height="6 " src="ico_down.gif " style="margin-right:4px; " width="7 "/><span class="tah p11 nv01"> 100 </span> </td> <td class="num"><span>13,400</span></td> <td class="num"><span>13,450</span></td> <td class="num"><span>13,150</span></td> <td class="num"><span>83,405</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>13,350</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>13,500</span></td> <td class="num"><span>13,600</span></td> <td class="num"><span>13,250</span></td> <td class="num"><span>160,439</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>13,500</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 450 </span> </td> <td class="num"><span>13,150</span></td> <td class="num"><span>13,550</span></td> <td class="num"><span>13,000</span></td> <td class="num"><span>237,001</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>13,050</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 350 </span> </td> <td class="num"><span>12,850</span></td> <td class="num"><span>13,450</span></td> <td class="num"><span>12,850</span></td> <td class="num"><span>278,034</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 450 </span> </td> <td class="num"><span>13,100</span></td> <td class="num"><span>13,150</span></td> <td class="num"><span>12,650</span></td> <td class="num"><span>179,950</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>13,150</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 600 </span> </td> <td class="num"><span>12,650</span></td> <td class="num"><span>13,800</span></td> <td class="num"><span>12,650</span></td> <td class="num"><span>615,073</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>12,550</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>12,800</span></td> <td class="num"><span>12,800</span></td> <td class="num"><span>12,550</span></td> <td class="num"><span>128,599</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>12,850</span></td> <td class="num"><span>12,850</span></td> <td class="num"><span>12,600</span></td> <td class="num"><span>47,049</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 150 </span> </td> <td class="num"><span>12,550</span></td> <td class="num"><span>12,700</span></td> <td class="num"><span>12,450</span></td> <td class="num"><span>60,017</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>12,550</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>12,400</span></td> <td class="num"><span>12,750</span></td> <td class="num"><span>12,350</span></td> <td class="num"><span>82,049</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>12,550</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>12,700</span></td> <td class="num"><span>12,750</span></td> <td class="num"><span>12,500</span></td> <td class="num"><span>75,452</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>12,700</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 50 </span> </td> <td class="num"><span>12,700</span></td> <td class="num"><span>12,800</span></td> <td class="num"><span>12,550</span></td> <td class="num"><span>98,403</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>12,750</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 150 </span> </td> <td class="num"><span>12,900</span></td> <td class="num"><span>12,950</span></td> <td class="num"><span>12,700</span></td> <td class="num"><span>89,815</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>12,900</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 450 </span> </td> <td class="num"><span>13,250</span></td> <td class="num"><span>13,300</span></td> <td class="num"><span>12,900</span></td> <td class="num"><span>157,254</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>13,350</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 50 </span> </td> <td class="num"><span>13,250</span></td> <td class="num"><span>13,400</span></td> <td class="num"><span>13,050</span></td> <td class="num"><span>125,442</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>13,300</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 150 </span> </td> <td class="num"><span>13,150</span></td> <td class="num"><span>13,500</span></td> <td class="num"><span>13,100</span></td> <td class="num"><span>131,064</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>13,150</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 100 </span> </td> <td class="num"><span>12,950</span></td> <td class="num"><span>13,150</span></td> <td class="num"><span>12,900</span></td> <td class="num"><span>52,919</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>13,050</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>13,200</span></td> <td class="num"><span>13,200</span></td> <td class="num"><span>12,950</span></td> <td class="num"><span>153,270</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>13,050</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 300 </span> </td> <td class="num"><span>13,300</span></td> <td class="num"><span>13,600</span></td> <td class="num"><span>13,050</span></td> <td class="num"><span>227,991</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>13,350</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 50 </span> </td> <td class="num"><span>13,250</span></td> <td class="num"><span>13,750</span></td> <td class="num"><span>13,250</span></td> <td class="num"><span>204,286</span></td> </tr>, <tr> <th scope="col">날짜</th> <th scope="col">종가</th> <th scope="col">전일비</th> <th scope="col">시가</th> <th scope="col">고가</th> <th scope="col">저가</th> <th scope="col">거래량</th> </tr>, <tr> <td align="center "><span class="date">2019.10.23</span></td> <td class="num"><span>2,600</span></td> <td class="num"> <img height="6 " src="ico_up.gif " style="margin-right:4px; " width="7 "/><span> 600 </span> </td> <td class="num"><span>2,055</span></td> <td class="num"><span>2,600</span></td> <td class="num"><span>2,020</span></td> <td class="num"><span>2,203,110</span></td> <lt;/tr>, <tr> <td align="center"><span class="date">2019.10.22</span></td> <td class="num"><span>2,000</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 5 </span> </td> <td class="num"><span>1,985</span></td> <td class="num"><span>2,005</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>32,212</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.21</span></td> <td class="num"><span>1,995</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 30 </span> </td> <td class="num"><span>2,025</span></td> <td class="num"><span>2,035</span></td> <td class="num"><span>1,975</span></td> <td class="num"><span>35,186</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.18</span></td> <td class="num"><span>2,025</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 40 </span> </td> <td class="num"><span>1,985</span></td> <td class="num"><span>2,050</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>108,481</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.17</span></td> <td class="num"><span>1,985</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 10 </span> </td> <td class="num"><span>1,980</span></td> <td class="num"><span>1,990</span></td> <td class="num"><span>1,955</span></td> <td class="num"><span>20,766</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.16</span></td> <td class="num"><span>1,975</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 5 </span> </td> <td class="num"><span>1,985</span></td> <td class="num"><span>1,995</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>19,243</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.15</span></td> <td class="num"><span>1,980</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 20 </span> </td> <td class="num"><span>1,970</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>1,960</span></td> <td class="num"><span>35,658</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.14</span></td> <td class="num"><span>1,960</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>1,955</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>1,935</span></td> <td class="num"><span>26,698</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.11</span></td> <td class="num"><span>1,960</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 45 </span> </td> <td class="num"><span>1,925</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>1,910</span></td> <td class="num"><span>45,469</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.10</span></td> <td class="num"><span>1,915</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 15 </span> </td> <td class="num"><span>1,885</span></td> <td class="num"><span>1,915</span></td> <td class="num"><span>1,885</span></td> <td class="num"><span>32,773</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.08</span></td> <td class="num"><span>1,900</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 20 </span> </td> <td class="num"><span>1,915</span></td> <td class="num"><span>1,935</span></td> <td class="num"><span>1,885</span></td> <td class="num"><span>62,433</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.07</span></td> <td class="num"><span>1,920</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 50 </span> </td> <td class="num"><span>1,970</span></td> <td class="num"><span>1,980</span></td> <td class="num"><span>1,895</span></td> <td class="num"><span>89,504</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.04</span></td> <td class="num"><span>1,970</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 20 </span> </td> <td class="num"><span>1,980</span></td> <td class="num"><span>2,005</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>47,894</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.02</span></td> <td class="num"><span>1,990</span></td> <td class="num"> <span>0</span> </td> <td class="num"><span>1,975</span></td> <td class="num"><span>2,030</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>74,176</span></td> </tr>, <tr> <td align="center"><span class="date">2019.10.01</span></td> <td class="num"><span>1,990</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 20 </span> </td> <td class="num"><span>1,975</span></td> <td class="num"><span>2,005</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>44,690</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.30</span></td> <td class="num"><span>1,970</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 5 </span> </td> <td class="num"><span>1,980</span></td> <td class="num"><span>2,000</span></td> <td class="num"><span>1,970</span></td> <td class="num"><span>34,087</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.27</span></td> <td class="num"><span>1,975</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 5 </span> </td> <td class="num"><span>1,975</span></td> <td class="num"><span>2,060</span></td> <td class="num"><span>1,965</span></td> <td class="num"><span>109,372</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.26</span></td> <td class="num"><span>1,970</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 30 </span> </td> <td class="num"><span>2,000</span></td> <td class="num"><span>2,035</span></td> <td class="num"><span>1,950</span></td> <td class="num"><span>83,120</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.25</span></td> <td class="num"><span>2,000</span></td> <td class="num"> <img alt="하락" height="6" src="ico_down.gif" style="margin-right:4px;" width="7"/><span class="tah p11 nv01"> 65 </span> </td> <td class="num"><span>2,065</span></td> <td class="num"><span>2,065</span></td> <td class="num"><span>1,985</span></td> <td class="num"><span>78,144</span></td> </tr>, <tr> <td align="center"><span class="date">2019.09.24</span></td> <td class="num"><span>2,065</span></td> <td class="num"> <img alt="상승" height="6" src="ico_up.gif" style="margin-right:4px;" width="7"/><span> 30 </span> </td> <td class="num"><span>2,020</span></td> <td class="num"><span>2,090</span></td> <td class="num"><span>2,020</span></td> <td class="num"><span>139,085</span></td> </tr>]
In [14]:
soup.select('p > a:nth-of-type(2)') #p태그 안에 있는 앵커태그중에 2번째요소
soup.select('p > a:nth-child(even)')#p태그 안에 짝수요소
soup.select('a[href]') #p태그 안에 특정어트리뷰트를 가진것이 있는지
soup.select('#link1 + .sister') #id와 클래스를 동시에 가진것이 있는지
Out[14]:
[]
In [15]:
oneStep = soup.select('.main')[2] #연구원에 있는 데이터만
In [16]:
twoStep = oneStep.select('tbody > tr')[1:]
In [17]:
twoStep[0].select('td')[0].text #날짜와 종가 뽑기
Out[17]:
'2019.10.23'
In [18]:
twoStep[0].select('td')[1].text.replace(',','')
Out[18]:
'6650'
In [19]:
날짜 = []
종가 = []
for i in twoStep:
날짜.append(i.select('td')[0].text)
종가.append(int(i.select('td')[1].text.replace(',','')))
In [73]:
날짜
Out[73]:
['2019.10.23', '2019.10.22', '2019.10.21', '2019.10.18', '2019.10.17', '2019.10.16', '2019.10.15', '2019.10.14', '2019.10.11', '2019.10.10', '2019.10.08', '2019.10.07', '2019.10.04', '2019.10.02', '2019.10.01', '2019.09.30', '2019.09.27', '2019.09.26', '2019.09.25', '2019.09.24']
In [20]:
종가
Out[20]:
[6650, 6630, 6820, 6430, 5950, 5930, 5640, 5380, 5040, 5100, 5050, 4940, 5010, 4920, 5010, 5000, 5010, 5060, 5060, 5330]
In [21]:
import plotly.express as px #시각화
fig = px.line(x=날짜, y=종가, title='jejucodingcamp')
fig.show()
'빅데이터 스터디' 카테고리의 다른 글
30분 요약 강좌 시즌2 : Python 활용편-섹션4-웹크롤링 연습문제2 (0) | 2021.09.17 |
---|---|
30분 요약 강좌 시즌2 : Python 활용편 섹션4-웹크롤링 연습문제-1 (0) | 2021.09.17 |
30분 요약 강좌 시즌2 : Python 활용편-섹션3. Visualization (0) | 2021.09.05 |
30분 요약 강좌 시즌2 : Python 활용편 - 섹션3. Numpy와 Pandas (0) | 2021.09.05 |
30분 요약 강좌 시즌2 : Python 활용편 - 섹션 2. Python-2 (0) | 2021.09.05 |