Fireship · @fireship
Am I going to jail for web scraping?
Uploaded July 26, 2024 · Length 4:35
Summary
web scraping legal and ethical concerns, Computer Fraud and Abuse Act, scraping publicly available data
- web scraping laws
- computer fraud and abuse act
- public data scraping
- data scraping ethics
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
there's only two types of people in this
- 0:01
world the conformist API consumer and
- 0:04
the Renegade webscraper it's always been
- 0:06
a bit of a gray area to write code that
- 0:08
automatically extracts valuable data
- 0:10
from websites but will you go to jail if
- 0:12
you do it you're stealing right to jail
- 0:14
I refuse to go back to jail but I'm
- 0:16
literally shaking right now because the
- 0:18
US District Court in Delaware just ruled
- 0:20
that booking.com violated the Computer
- 0:22
Fraud and Abuse Act by scraping the Ryan
- 0:24
Air website booking tried to countersuit
- 0:27
for defamation because Ryan Air hurt the
- 0:29
corporation's Fe by calling them an otaa
- 0:31
pirate or online travel agency pirate
- 0:34
not surprisingly the court rejected that
- 0:36
claim but this is not the first time
- 0:37
that web scrapers have battled in court
- 0:39
in today's video we'll look at the legal
- 0:41
and ethical concerns in this case and
- 0:43
find out if my web scraping tutorials
- 0:44
will land you in jail it is July 26 2024
- 0:48
and you watching the code report in this
- 0:50
weird cybernetic post-human world the
- 0:52
data has become more valuable than gold
- 0:54
Google and meta are both trillion dollar
- 0:56
companies built almost exclusively by
- 0:58
collecting data from users to be
- 1:00
exploited by advertisers for the last 30
- 1:02
years humans have voluntarily and
- 1:04
involuntarily filled the worldwide web
- 1:06
with exabytes of data about our crappy
- 1:08
lives and much of this data is freely
- 1:11
available through the lens of a web
- 1:12
browser but the problem is that the raw
- 1:14
data is trapped inside a rock of HTML
- 1:17
code rendering it useless for data
- 1:19
analysis the data becomes valuable
- 1:21
though when it's mined into a clean
- 1:23
Universal format like Json or CSV that
- 1:25
can be fed into machine learning tools
- 1:27
like XG boost or sold to data Brokers on
- 1:29
on the black market and that's where web
- 1:31
scraping comes in I've made tutorials
- 1:33
about how to do it at an industrial
- 1:34
scale using tools like Puppeteer which
- 1:37
can render the content on a website
- 1:38
programmatically click on buttons fill
- 1:40
out forms and ultimately extract
- 1:42
valuable data despite content being
- 1:44
freely available like Amazon product
- 1:46
listings for example many website owners
- 1:49
don't like to be scraped and forbid this
- 1:50
behavior in their terms of service and
- 1:52
robots.txt file but this file is like
- 1:55
the no smoking signs on an airplane it
- 1:57
doesn't actually stop anything from
- 1:58
happening and you can easily enjoy a


