This commit is contained in:
dosangyoon
2022-08-05 00:27:07 +09:00
parent cdc42fb757
commit 72053b6b6c

View File

@@ -400,9 +400,9 @@ class StockCrawler:
if date == lastDay:
lastPage = True
df = df.append(html[0], ignore_index=True)
df = pd.concat((df, html[0]), ignore_index=True)
break
df = df.append(html[0], ignore_index=True)
df = pd.concat((df, html[0]), ignore_index=True)
df = df.dropna()
if (lastPage) or (len(df) < 1) or ("날짜" not in df) or (df.날짜[1]==''):
print("\t- lastpage:", page)