This commit is contained in:
dsyoon
2021-07-14 22:36:08 +09:00
parent ecc6cdd9bc
commit 56c3e364d7
2 changed files with 3 additions and 1 deletions

View File

@@ -15,8 +15,8 @@ today = datetime.datetime.now().strftime("%Y-%m-%d")
PROJECT_HOME = "../../.."
start = time.time()
"""
inFnguideFileName = PROJECT_HOME + '/resources/fnguide.db'
"""
crawler = FnGuideCrawler()
print("[KOSPI 상장기업 재무제표 다운로드]")
crawler.crawl_fnguide(inFnguideFileName)

View File

@@ -230,6 +230,8 @@ class StockCrawler:
break
if count == 10:
df = df.append(html[0], ignore_index=True)
if lastPage:
break
else:
if lastPage == False:
df = df.append(html[0], ignore_index=True)