This commit is contained in:
dosangyoon
2022-04-01 23:36:29 +09:00
parent b37438f83c
commit c17140eaa1
4 changed files with 35 additions and 23 deletions

View File

@@ -9,6 +9,11 @@ import requests
class FnGuideCrawler:
header = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36'}
START_DATE = None
def __init__(self, START_DATE):
self.START_DATE = START_DATE
return
def getStockInfo(self):
code_df = pd.read_html('http://kind.krx.co.kr/corpgeneral/corpList.do?method=download&searchType=13', header=0)[0]