Skip to content

Coronavirus / Covid-19 Python scraper to JSON data and simple graph with ChartJS.

Notifications You must be signed in to change notification settings

phamels/coronavirus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coronavirus data scraping

This is a simple script that scrapes the coronavirus numbers from worldofmeters with BeautifulSoup4 and dumps it to a json file.

Installation

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python coronascrape.py

Further information

  • Run the coronscrapy.py script every 10 minutes or so in a cronjob.
  • Setup a webserver with webroot html if you desire.

Example