skip to main content
10.1145/3453892.3461333acmotherconferencesArticle/Chapter ViewAbstractPublication PagespetraConference Proceedingsconference-collections
research-article
Open access

Web Scraping of COVID-19 News Stories to Create Datasets for Sentiment and Emotion Analysis

Published: 29 June 2021 Publication History

Abstract

ABSTRACT
Over the past few years, the ubiquitous usage of internet to broadcast information worldwide, has proved to be one of the best methods in making people aware about their surroundings. This has also led towards storage of vast amount of data in user interactive websites. Several news channels apart from live streaming, are using internet in such ways to convey their information. And these methods have not only benefited people to acquire regular updates but have also impacted their lives in many ways during the world awakening pandemic like COVID-19. Currently, in this pandemic situation, many leaders including federal and state government officials have shown great concern towards society by providing statements such as preventive measures, which were regularly recorded and elaborated in the form of stories by the news channels in their own websites. But, in general, the type of statement given by a leader will always affect people's opinion and behavior, which also happened during this pandemic. There were variations in number of cases of COVID-19 based upon a region leader's statements as per timeline and the people's modulating lifestyle there. This kind of relationship has motivated us towards analyzing the COVID-19 data based on sentiment and emotion involved in leader's statements, giving rise to an idea of web scraping to obtain their statements and stories from news channels. The main aim of this paper is to enlighten about different techniques and libraries used for web scraping, some challenges while designing a web scraper and finally arrive at an efficient methodology using them to extract news headlines and stories and create a new dataset that can be used in sentiment and emotion analysis. In future work, we will present the results of our experiments with the downloaded datasets.

References

[1]
SCM de S Sirisuriya. 2015. A Comparative Study on Web Scraping. In Proceedings of 8th International Research Conference, KDU., http://ir.kdu.ac.lk/handle/345/1051
[2]
Daniel Glez-Pena., Analia Lourenco., Hugo Lopez-Fernandez., Miguel Reboiro-Jato., Florentino Fdez-Riverola., 2013. Web scraping technologies in an API world. Briefings in Bioinformatics, Volume 15, Issue 5, September 2014, Pages 788–797., https://doi.org/10.1093/bib/bbt026
[3]
Saurkar., Anand V., Kedar G. Pathare., and Shweta A. Gode., 2018. An Overview on Web Scraping Techniques and Tools. International Journal on Future Revolution in Computer Science & Communication Engineering 4.4 (2018): 363-367., http://www.ijfrcsce.org/download/browse/Volume_4/April_18_Volume_4_Issue_4/1524638955_25-04-2018.pdf
[4]
Emil Persson., 2019. Evaluating tools and techniques for web scraping. Master's Thesis, School of Electrical Engineering and Computer Science, KTH Royal Institute of Technology
[5]
Hamza moh., Salem and Manuel Mazzara., 2020. Pattern Matching-based scraping of news websites. Journal of Physics: Conference Series., https://iopscience.iop.org/volume/1742-6596/1694
[6]
Hadley Wickham., RStudio. 2015. Easily Harvest (Scrape) Web Pages. https://rvest.tidyverse.org/ ., https://github.com/tidyverse/rvest
[7]
John Harrison., Ju Yeong Kim., 2020. R Bindings for 'Selenium WebDriver'. http://docs.ropensci.org/RSelenium
[8]
D. M. Thomas and S. Mathur., 2019. Data Analysis by Web Scraping using Python. In 3rd International conference on Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India, 2019, pp. 450-454.
[9]
Kenneth Reitz., 2015. Requests: HTTP for Humans., https://requests.readthedocs.io/en/master/
[10]
Ryan Mitchell., Revised in 2018. Web Scraping with Python, 2nd Edition. Book published by O'Reilly, Inc. https://www.oreilly.com/library/view/web-scraping-with/9781491985564/
[11]
Scrapy developers. Revised in 2020. Scrapy Tutorial. https://docs.scrapy.org/en/latest/intro/tutorial.html
[12]
Hadley Wickham, RStudio. 2019. stringr, Simple, Consistent Wrappers for Common String Operations. https://www.rdocumentation.org/packages/stringr/versions/1.4.0

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
PETRA '21: Proceedings of the 14th PErvasive Technologies Related to Assistive Environments Conference
June 2021
593 pages
ISBN:9781450387927
DOI:10.1145/3453892
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 29 June 2021

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Pandemic
  2. Sentiment and Emotion Analysis
  3. Web Scraping

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

PETRA '21

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)634
  • Downloads (Last 6 weeks)94
Reflects downloads up to 06 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media