init
This commit is contained in:
@@ -232,7 +232,7 @@ class StockCrawler:
|
||||
break
|
||||
df = df.append(html[0], ignore_index=True)
|
||||
df = df.dropna()
|
||||
if lastPage or len(df) < 1 or df.날짜[0]=='':
|
||||
if (lastPage) or (len(df) < 1) or ("날짜" not in df) or (df.날짜[1]==''):
|
||||
print("\t- lastpage:", page)
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user