From d3ea17481e05ddf11b9ad8fe1a0283d657f32c58 Mon Sep 17 00:00:00 2001 From: Redsandy <34872843+Redsandyg@users.noreply.github.com> Date: Wed, 6 Apr 2022 15:31:37 +0300 Subject: [PATCH] Update InvestCal.py --- News/InvestCal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(),