Scraped at: 2020-03-24T21:15:10+01:00
Date and time: 24.03.2020
Confirmed cases:
Change of wording, on website. now is:
Fallzahl Kanton Obwalden
Bisher ist bei 25 Personen im Kanton Obwalden das Coronavirus nachgewiesen worden (Stand: 24. M盲rz 2020).
Easy fix. On it.
Actually, this is a bit weird, I think it should been working existing scraper:
echo "$d" | egrep "ist bei [0-9]+ Personen" | sed -E -e 's/^.*ist bei ([0-9]+) Personen.*$/\1/'
I might be blind, or maybe there is some extra space / non-breaking space.
Checking.
Oh. This looks to be because it is using windows-1252 encoding in HTML, but we expect UTF-8, so grep then is confused by M锟絩z , and assumes the file is binary.
Fixable.
Fix available. (just use iconv). PR coming soon.
Most helpful comment
Fix available. (just use
iconv). PR coming soon.