diff --git a/News/InvestCal.py b/News/InvestCal.py index a8f72e8..17f63c7 100644 --- a/News/InvestCal.py +++ b/News/InvestCal.py @@ -43,7 +43,7 @@ def investingPars(path_file=None,dateDict=None): time.sleep(2) driver.execute_script("window.scrollTo(0,document.body.scrollHeight)") time.sleep(2) - #f_write(driver) + f_write(driver) page_source=driver.page_source except Exception as ex: @@ -100,7 +100,7 @@ def getDF(doc,path_file): colDate = tdList[i][0].text[:-3] else: newRow={ - col_names[0]:tdList[i][0].text, + col_names[0]:getTime(tdList[i][0]), col_names[1]:tdList[i][1].text.strip(), col_names[2]:getValat(tdList[i][2]), col_names[3]:tdList[i][3].text.strip(),