using colly obtain covid data from worldometers.info per day, and show a 'daily-cases/daily-deaths' chart using d3.js
using colly obtain covid data from worldometers.info per day, and show a ‘daily-cases/daily-deaths’ chart using d3
or using some local web server like Python:
python -m http.server 80
go build
this generate a executable file covid
.
then run:
./covid
this obtain all data from worldometers.info and save to data
folder.
let covid
auto obtain data once per day.
window: using scheduled tasks
linux: using crontab
crontab -e
15 8-10 * * * /your_server/covid/covid
https://your_server.com/covid