My Code
browser = webdriver.Chrome()
browser.get(('https://www.barchart.com/options/most-active/etfs?viewName=main'))
downloadExcel = browser.find_element_by_class('bc-glyph-download')
downloadExcel.click()
I need to create a bot that will press the download button (class="bc-glyph-download") on the website: wwww.barchart.com every hour at 9, 10, 11, etc central time. This should download a saved CSV excel sheet on my desktop.
There were no stackoverflow articles on how to possibly do this that I saw. If this is going to be "hard", I may have to manually collect the excel sheets myself.