Inspiration

Over 225 million jobs were lost due to Covid-19, which caused even more of a challenge during the pandemic. Our inspiration came from being unable to do many things because of the global pandemic and being trapped inside throughout the day. Even though Covid-19 has significantly become less aware of by large amounts of people, we still think this is a problem people should still be mindful of. Monitoring and tracking the virus can help slow the spread and understand how the virus works.

What it does

Covid-Hunter uses discord.py to represent the data found online using a web scrapper, and we made the scrapper find covid information from an online website named worldmeters.info. When a user calls the command with an argument of a country, the bot will find the country in the data table from the web scrapper and create an embed returning it on the user's call. Another function is being able to call a table with the severity of covid in order from largest to smallest. The last primary function is being able to search by index and find the page on which the country is located in. With this function, you can find the country's ranking compared to the other countries.

How we built it

We used the discord.py API wrapper, which we used to create the bot; the web scrapping was done using BeautifulSoup, a package used for parsing HTML and XML files and representing the information as readable text and data. We retrieved the HTML using requests.

Challenges we ran into

We had some trouble with BeautifulSoup and the web scraping part. We had a problem with the web scraping part since we were not initially sure what we were doing; some websites did work as we thought they would.

Accomplishments that we're proud of

Accomplishments that we are proud of getting the discord bot to work with faced many challenges that were hard to overcome but in the end, everything worked. We were happy that the web scrapping and HTML parsing worked since it took us some time to set up.

What we learned

While developing this project, we learned how web scraping works and how discord.py works in a more advanced way.

What's next for Covid Tracker

  • Continue to develop commands for the bot.

Built With

Share this project:

Updates