Skip to main content
QUICK REVIEW

[Paper Review] Web Scraping for Research: Legal, Ethical, Institutional, and Scientific Considerations

Megan A. Brown, Andrew Gruen|arXiv (Cornell University)|Oct 30, 2024
Wikis in Education and CollaborationSocial Sciences5 citations
TL;DR

This non-peer reviewed working paper presents a comprehensive framework for web scraping in social science research, outlining legal, ethical, institutional, and scientific considerations and offering guidance to mitigate risk and enhance rigor.

ABSTRACT

Scientists across disciplines often use data from the internet to conduct research, generating valuable insights about human behavior. However, as generative AI relying on massive text corpora becomes increasingly valuable, platforms have greatly restricted access to data through official channels. As a result, researchers will likely engage in more web scraping to collect data, introducing new challenges and concerns for researchers. This paper proposes a comprehensive framework for web scraping in social science research for U.S.-based researchers, examining the legal, ethical, institutional, and scientific factors that researchers should consider when scraping the web. We present an overview of the current regulatory environment impacting when and how researchers can access, collect, store, and share data via scraping. We then provide researchers with recommendations to conduct scraping in a scientifically legitimate and ethical manner. We aim to equip researchers with the relevant information to mitigate risks and maximize the impact of their research amidst this evolving data access landscape.

Motivation & Objective

  • Motivate the need for clearer guidelines as data access via scraping evolves in a restrictive data environment.
  • Define scraping and distinguish it from official APIs and crawling.
  • Provide a framework of legal, ethical, institutional, and scientific factors researchers must consider when scraping.
  • Offer recommendations and a practical checklist to conduct scraping in a scientifically legitimate and ethical manner.

Proposed method

  • Define scraping and survey mechanisms (traditional scraping, undocumented API scraping, browser-plugin scraping).
  • Analyze legal considerations including contract, statutory, privacy, and data access laws with examples and case references.
  • Discuss ethical considerations under the Common Rule and debates about public data and consent.
  • Outline institutional factors and stakeholder roles relevant to university settings.
  • Provide a framework and actionable guidance to mitigate legal and ethical risks in scraping projects.

Experimental results

Research questions

  • RQ1What legal, ethical, institutional, and scientific factors must researchers consider when scraping the web for social science research?
  • RQ2How can researchers navigate current and evolving data access landscapes to conduct scraping in a way that is scientifically rigorous and ethically sound?
  • RQ3What practical recommendations and checklists can help researchers mitigate risks when using scraping as a data collection method?

Key findings

  • Scraping occurs through multiple mechanisms (traditional scraping, undocumented APIs, browser plugins) with distinct legal and ethical implications.
  • There is a patchwork of laws (contract, CFAA, privacy/data protection, data access regimes like the EU DSA) that create non-uniform risks for scraping across jurisdictions.
  • Courts increasingly scrutinize user contracts (browsewrap vs clickwrap) in anti-scraping enforcement, affecting researchers relying on public data.
  • Privacy laws, especially GDPR, present challenges but also exemptions favorable to researchers when risks are mitigated and data minimized.
  • Data access regimes (like the EU DSA) move toward enabling vetted researchers to access platform data for policy-relevant studies, signaling regulatory shifts.
  • The ethics of scraping must balance public data use with privacy, consent, and potential harms to individuals and communities, particularly for relational data and vulnerable groups.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.