debdutgoswami / covid-19-India

A package to provide information regarding COVID-19 cases in India.

Home Page:https://pypi.org/project/covid-india/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update the scraping logic

debdutgoswami opened this issue · comments

Currently, https://www.mohfw.gov.in/ has changed its table structure so pandas is not able to extract it. Figure out a way to extract the data either using pandas itself or beautiful soup.

Hello, can you please assign this to me?

@sculley Sure go-ahead

as mentioned in the PR, I found that https://www.mohfw.gov.in/ have a json file with all the data which they use, so I removed the usage of pandas and just parsed the JSON instead.

@sculley great job on using the JSON instead of scraping.