Skip to content

Commit

Permalink
Merge pull request #610 from basedosdados/staging/fix-stf
Browse files Browse the repository at this point in the history
[fix] br_stf_dados_abertos
  • Loading branch information
tricktx authored Jan 2, 2024
2 parents af1771c + fa78471 commit aa20e41
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pipelines/datasets/br_stf_corte_aberta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ def web_scrapping():
options.add_argument("--crash-dumps-dir=/tmp")
options.add_argument("--remote-debugging-port=9222")
driver = webdriver.Chrome(options=options)
time.sleep(30)
time.sleep(45)
driver.get(stf_constants.STF_LINK.value)
time.sleep(30)
time.sleep(45)
driver.maximize_window()
time.sleep(30)
time.sleep(45)
driver.find_element("xpath", '//*[@id="EXPORT-BUTTON-2"]/button').click()
time.sleep(30)
time.sleep(90)
driver.quit()


def read_csv():
Expand Down

0 comments on commit aa20e41

Please sign in to comment.