init
This commit is contained in:
@@ -149,7 +149,7 @@ if __name__ == "__main__":
|
||||
stockCrawlerDaily = StockCrawlerDaily(PROJECT_HOME)
|
||||
|
||||
week = datetime.today().weekday()
|
||||
if week in (0, 1, 2, 3, 4, 5): # 0:월, 1:화, 2:수, 3:목, 4:금, 5:토, 6:일
|
||||
if week in (0, 1, 2, 3, 4): # 0:월, 1:화, 2:수, 3:목, 4:금, 5:토, 6:일
|
||||
start = time.time()
|
||||
stockCrawlerDaily.crawl()
|
||||
today = datetime.now().strftime("%Y-%m-%d")
|
||||
|
||||
Reference in New Issue
Block a user