Browse Source

increase sleep time to load page

Daniel Busch 4 months ago
parent
commit
65d79de305
1 changed files with 1 additions and 1 deletions
  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