I've tried various ways to download the zip file at this location: https://www.dupageresults.gov//IL/DuPage/115972/314432/reports/summary.zip
I can't seem to get the full uncorrupted file with Requests and can't seem to find the correct answer. I've tried a .click() on the xpath as well and that doesn't give me the full file either.
I can click on it manually and get an uncorrupted file but any Python method doesn't seem to work for me. Any idea what's happening here?
clicktodownload = driver.find_element(By.XPATH, value = '//div[@class="card contest-loader"]').click()