Learn practical skills, build real-world projects, and advance your career

Project Outline

  • We're going to scrape the covid statistics from https://epidemic-stats.com/
  • We will get a list of infected,deaths,recovered stats country wise
  • We will create a CSV file in the following format:
country,infected,deaths,recovered,death_percent,recovered_percent
USA,35688506,629064,29652038,1.8,83.1
India,31613993,423842,30781263,1.3,97.4

Importing requests library

import requests
covid_stats = 'https://epidemic-stats.com/'

Lets fetch the repsonse from the website