Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
fix GE xls download id detection
Browse files Browse the repository at this point in the history
  • Loading branch information
maekke committed Mar 27, 2022
1 parent 736f5d0 commit ec50698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/scrape_ge.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
elem = driver.find_elements_by_id('dropdown_download_table')
elem = elem[0]
elem.click()
xls_url = sgc.get_link_from_element(driver, 'download_table_indicateurs_xlsx')
xls_url = sgc.get_link_from_element(driver, 'download_table_cas_deces_xlsx')
assert xls_url, "Couldn't find XLS url"

xls = sc.xlsdownload(xls_url, silent=True)
Expand Down

0 comments on commit ec50698

Please sign in to comment.