diff --git a/datasets.json b/datasets.json index d0fd8dfe..b17af8f0 100644 --- a/datasets.json +++ b/datasets.json @@ -6235,8 +6235,8 @@ "id_name": "ON - Brant (PHU) - COVID-19 data (webpage)", "uuid": "2e7a5549-92ae-473d-a97a-7b8e0c1ddbbc", "active": "True", - "url_fun_python": "from bs4 import BeautifulSoup; import requests; headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0'}; url_current = BeautifulSoup(requests.get('https://bchu.pinkrobot.dev/statistics-and-reports/covid19-surveillance/', headers=headers, timeout=5).text, features='html.parser').find('iframe')['data-src']", - "url_fun_r": "library(rvest); html_attr(html_element(read_html('https://bchu.pinkrobot.dev/statistics-and-reports/covid19-surveillance/'), 'iframe'), 'data-src')", + "url_fun_python": "from bs4 import BeautifulSoup; import requests; headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0'}; url_current = BeautifulSoup(requests.get('https://bchu.org/statistics-and-reports/covid19-surveillance/', headers=headers, timeout=5).text, features='html.parser').find('iframe')['data-src']", + "url_fun_r": "library(rvest); html_attr(html_element(read_html('https://bchu.org/statistics-and-reports/covid19-surveillance/'), 'iframe'), 'data-src')", "dir_parent": "on", "dir_file": "on-phu-brant-covid-data-webpage", "file_name": "on-phu-brant-covid-data-webpage",