Ver Fonte

increase sleep time to load page

Daniel Busch há 4 meses atrás
pai
commit
65d79de305
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/faostat_data_primap/download.py

+ 1 - 1
src/faostat_data_primap/download.py

@@ -181,7 +181,7 @@ def get_html_content(url: str) -> BeautifulSoup:
     driver.get(url)
 
     # give time to load javascript
-    time.sleep(3)
+    time.sleep(5)
 
     html_content = driver.page_source