By scraping YouTube comments on videos giving covid-19 precautions for Thanksgiving Day, we are looking into how people will plan their big holiday gathering under the Covid pandemic in 2020. Finally, gather tips by scraping Twitter top posts and hope we all can gather safely and enjoy our Thanksgiving Day as we always do.
Covid-19 Latest Update in US
According to the CDC, cases in the US increased 764,680 in the last week, with a total amount of 9,913,553, reaching an appalling number of 10 million. Total deaths mount to 237,037 and the death rate now stands at 2.4%. California, Texas and Florida rank in the top 3 in the number of Covid cases.
Illinois, Texas and Wisconsin are the three states that have witnessed the greatest jump in the case data over the last 7 days.
YouTube Sentiment: Thanksgiving gathering?
As the grand traditional celebration Thanksgiving Day comes at the end of this month, a number of news agencies warn the public on YouTube about mass gatherings and give tips on how to celebrate Thanksgiving safely.
We scraped comments on YouTube, under related videos published by Global news, CBC News, CBS News and GMA, to see what are people’s attitude towards Thanksgiving under Covid-19. Will they switch to a new style of gathering in consideration of this pandemic?
We entered the URL of 4 videos top in view to the crawler and scraped a total of 198 comments from viewers and exported it into excel for further studies. The most convenient part of web scraping is to get data into this well-structured form for future analysis.
Scraping YouTube Comments within minutes
When we looked into these comments, YouTube viewers split into two different parties on this issue:
- The overwhelming majority of them refuse to take Covid-19 as so severe a pandemic that could change the traditional way of family gathering;
- The rest of them, a rather small group of people, stand that Covid-19 is no joke and would be cautious about big gatherings on Thanksgiving.
The comments even revealed the distrust of the public to the US press.
As we categorized people’s reactions to these warnings, 10.7% of them agreed on the severity of the pandemic and stated that they would be precautious, while 61.4% of the comments blamed the overreaction or teasing the press for building up this fraud.
This is a rather simplistic example of sentiment analysis. Octoparse is capable of getting data from all visible web pages. With this raw data, you can do an in-depth analysis using more sophisticated models such as NLP, to get to the bottom of things.
Scraping Twitter: Tips for Family and Friends
Along the way, we scraped Twitter to search for tips on how to safely enjoy our holiday gathering. We took “Thanksgiving covid safety” as the keyword and got hundreds of posts scraped down to Excel.
Twitter data scraped by Octoparse
We had a closer look at the tips posted by these authors and picked out 4 authoritative sources for our readers to consult with. They have offered comprehensive advice on both food safety and for safe holiday entertaining. If you are taking Covid-19 seriously, this would help guide you on how to better protect yourselves as well as your friends and family.
Food safety
1. regionofwaterloo: “When you’re cooking your Thanksgiving meal, wash your hands with soap and warm water for 15 seconds before handling food or eating.”
2. The New York Times: “The solution? A scaled-back Thanksgiving — with open windows, fewer people and a big serving of precautions.” (Serve Up Some Extra Precautions at Your Thanksgiving Table This Year)
Advice for safe holiday entertaining
3. CDC.gov: “Thanksgiving is a time when many families travel long distances to celebrate together. Travel increases the chance of getting and spreading the virus that causes COVID-19. Staying home is the best way to protect yourself and others. If you must travel, you should be informed of the risks involved.”
4. Alberta government: “If you are hosting/travelling…”
Conclusions
Difficulties emerge in our life and work. In this respect, what web scraping can do is to gather relevant data from all over the world and get us well informed in an all-round way before making our own decision. Great potential could be realized if we put web scraping well in use in our business.