Web Scraping, Data Collection & Copyright
Copyright & Fair Use
Chapter 9 · Web Scraping, Data Collection & Copyright
dsproj1-1 built a real scraper and flagged "check robots.txt/ToS" as good practice without ever explaining why. This chapter finally answers that — and, in the spirit of Chapter 8's own three-question breakdown, immediately splits "is scraping legal?" into several genuinely separate legal questions, of which copyright is only one.
"Is Scraping Legal?" Is Not One Question
| Consideration | What body of law it actually falls under |
|---|---|
| Is the scraped content copyrightable? | Copyright law — this course's own primary subject |
| Does using the site require agreeing to terms prohibiting scraping? | Contract law — genuinely separate from copyright |
| Does collecting the data require bypassing a technical access barrier? | Computer-fraud-type statutes (in the U.S., the CFAA) — also separate from copyright |
A scraping project can be entirely fine on one of these dimensions and genuinely risky on another — treating "scraping" as governed by a single unified law is exactly the kind of oversimplification this course has repeatedly corrected elsewhere.
The Copyright Dimension
The technical act of scraping — copying content from a page into your own systems — does implicate the reproduction right from Chapter 3, if what's being copied is copyrightable expression. But a great deal of what data scientists actually scrape is exactly the kind of material Chapter 1 already excluded from protection entirely.
robots.txt or ToS might separately say about it.
Correcting a Common Myth: robots.txt Is Not a Law
robots.txt is a voluntary technical convention — a file a site publishes to signal which pages it would prefer automated crawlers avoid. It is not, by itself, a legally binding restriction in most circumstances, and ignoring it isn't automatically a copyright violation or any other independent legal claim on its own. That said, ignoring it is against widely accepted web norms, and disregarding it can be cited as evidence of bad faith in a separate legal dispute — it's a real signal worth respecting, just not because the file itself carries independent legal force the way a statute does.
Terms of Service — A Genuinely Different, Binding Mechanism
Unlike robots.txt, a site's Terms of Service can be a real, binding contract — if the scraper actually agreed to it (by creating an account, clicking "I agree," or in some cases simply by using a site whose terms are clearly presented). Violating a ToS provision that prohibits scraping is a potential breach of contract, an entirely different legal claim from copyright infringement, with its own separate remedies (account termination, contract damages) rather than the copyright-specific mechanisms covered in Chapters 3 and 7.
Bypassing Technical Access Controls — A Third, Separate Concern
Actively defeating a login wall, a paywall, or a CAPTCHA to reach data goes beyond ordinary scraping and can raise concerns under computer-fraud-type statutes — in the U.S., most notably the Computer Fraud and Abuse Act (CFAA) — which is a body of law entirely separate from copyright.
Putting It Together — Why dsproj1-1's Advice Was Right, For Reasons It Never Explained
robots.txt and ToS before scraping isn't legally required in every single case, but it's genuinely good practice because it touches all three dimensions covered in this chapter simultaneously: it respects the voluntary technical signal (goodwill, and evidence against a bad-faith argument), it surfaces any binding contractual restriction before it's violated (the genuine ToS/contract-law risk), and checking whether data sits behind a login wall at all is the single clearest signal for whether CFAA-type concerns are even in play. dsproj1-1's own advice was sound — this chapter is simply the legal reasoning underneath it that chapter never had room to cover.
Hands-On Exercises
A data scientist scrapes only publicly listed product prices from a retail site, with no login required. Explain, using this chapter's own material, why this is very likely fine from a copyright standpoint specifically — while noting what it doesn't tell you about the other two considerations.
📄 View solutionA colleague says, "our scraper ignores robots.txt, so we're definitely breaking the law." Explain what's wrong with this statement, and what robots.txt actually is instead.
📄 View solutionExplain what the hiQ Labs v. LinkedIn case suggests about the difference between scraping publicly accessible data and scraping data behind a login wall, and why the case shouldn't be treated as a permanently settled rule.
📄 View solutionChapter 9 Quick Reference
- "Is scraping legal?" splits into three separate questions: copyright, Terms of Service (contract law), and access-control circumvention (CFAA-type law)
- Bare factual data (prices, scores, structured specs) generally isn't copyrightable at all, per Chapter 1 — scraping it usually doesn't implicate copyright meaningfully
- Creative/expressive scraped text (articles, reviews) does implicate real copyright — any later use needs its own fair use analysis
- robots.txt is not legally binding by itself — a voluntary technical convention, not a law, though ignoring it can be cited as evidence of bad faith elsewhere
- A site's Terms of Service can be a genuinely binding contract if actually agreed to — violating it is breach of contract, not copyright infringement
- Bypassing login walls/CAPTCHAs raises CFAA-type concerns; hiQ Labs v. LinkedIn suggests publicly accessible data scraping sits on firmer ground than login-gated scraping, though the case has real, complex nuance
- Next chapter: Capstone — A Real-World Copyright Decision Framework