metaodi / covid-19-scraper-canton-ju

COVID-19 case numbers for the canton Jura


Contributors metaodi

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... [1G [1G-----> Python app detected [1G-----> Installing python-3.6.2 [1G-----> Installing pip [1G-----> Installing requirements with pip [1G Collecting beautifulsoup4 [1G Downloading beautifulsoup4-4.9.0-py3-none-any.whl (109 kB) [1G Collecting requests [1G Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB) [1G Collecting dateparser [1G Downloading dateparser-0.7.4-py2.py3-none-any.whl (353 kB) [1G Collecting soupsieve>1.2 [1G Downloading soupsieve-2.0-py2.py3-none-any.whl (32 kB) [1G Collecting idna<3,>=2.5 [1G Downloading idna-2.9-py2.py3-none-any.whl (58 kB) [1G Collecting chardet<4,>=3.0.2 [1G Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) [1G Collecting certifi>=2017.4.17 [1G Downloading certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB) [1G Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 [1G Downloading urllib3-1.25.9-py2.py3-none-any.whl (126 kB) [1G Collecting tzlocal [1G Downloading tzlocal-2.1-py2.py3-none-any.whl (16 kB) [1G Collecting regex!=2019.02.19 [1G Downloading regex-2020.5.14-cp36-cp36m-manylinux2010_x86_64.whl (675 kB) [1G Collecting pytz [1G Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB) [1G Collecting python-dateutil [1G Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) [1G Collecting six>=1.5 [1G Downloading six-1.14.0-py2.py3-none-any.whl (10 kB) [1G Installing collected packages: soupsieve, beautifulsoup4, idna, chardet, certifi, urllib3, requests, pytz, tzlocal, regex, six, python-dateutil, dateparser [1G Successfully installed beautifulsoup4-4.9.0 certifi-2020.4.5.1 chardet-3.0.4 dateparser-0.7.4 idna-2.9 python-dateutil-2.8.1 pytz-2020.1 regex-2020.5.14 requests-2.23.0 six-1.14.0 soupsieve-2.0 tzlocal-2.1 urllib3-1.25.9 [1G [1G [1G-----> Discovering process types [1G Procfile declares types -> scraper Injecting scraper and running... Traceback (most recent call last): Error: too many values to unpack (expected 2) Traceback (most recent call last): File "scraper.py", line 116, in <module> parse_page(soup, conn) File "scraper.py", line 116, in <module> File "scraper.py", line 54, in parse_page parse_page(soup, conn) File "scraper.py", line 54, in parse_page (confirmed_cell, date_cell) = table.find_all('td') ValueError: too many values to unpack (expected 2) (confirmed_cell, date_cell) = table.find_all('td') ValueError: too many values to unpack (expected 2)

Data

Downloaded 14 times by metaodi

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (3 KB) Use the API

rows 4 / 4

date time abbreviation_canton_and_fl ncumul_tested ncumul_conf ncumul_hosp ncumul_ICU ncumul_vent ncumul_released ncumul_deceased source
date
2020-03-19
time
16:00
abbreviation_canton_and_fl
JU
ncumul_tested
ncumul_conf
27
ncumul_hosp
ncumul_ICU
ncumul_vent
ncumul_released
ncumul_deceased
source
date
2020-03-20
time
17:00
abbreviation_canton_and_fl
JU
ncumul_tested
ncumul_conf
29
ncumul_hosp
ncumul_ICU
ncumul_vent
ncumul_released
ncumul_deceased
source
date
2020-03-21
time
18:00
abbreviation_canton_and_fl
JU
ncumul_tested
ncumul_conf
49
ncumul_hosp
ncumul_ICU
ncumul_vent
ncumul_released
ncumul_deceased
source
date
2020-03-22
time
17:00
abbreviation_canton_and_fl
JU
ncumul_tested
ncumul_conf
51
ncumul_hosp
ncumul_ICU
ncumul_vent
ncumul_released
ncumul_deceased
source

Statistics

Average successful run time: half a minute

Total run time: 40 minutes

Total cpu time used: 1 minute

Total disk space used: 30.7 KB

History

  • Auto ran revision 0fd98127 and failed .
    nothing changed in the database
  • Auto ran revision 0fd98127 and failed .
    nothing changed in the database
  • Auto ran revision 0fd98127 and failed .
    nothing changed in the database
  • Auto ran revision 0fd98127 and failed .
    nothing changed in the database
  • Auto ran revision 0fd98127 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history