~/talk

It's Officially Legal so Let's Scrape the Web

Talkat PyCon US 2020 · 2020-04-15..04-23· [security]
slides:none on file

Claims recent case law lets scraping publicly available pages (Haikyu Labs v LinkedIn fall 2019) and shows legal risk is reduced; demonstrates concrete tooling and results: requests and BeautifulSoup for HTML, Selenium for dynamic pages, dateutil/regex/pandas for cleaning, and pickle for saving. Builds functions and a pipeline that scrapes Wikipedia state pages (name, lat/long, admitted date, population, area, median income), runs it for ten states with a one-second pause between requests, handles missing fields with try/except, and writes a CSV; Kansas admission date is missing.

AI-written summary · about

  1. 0:00Start
  2. 3:17Why learn web scraping?
  3. 4:19How does it work?
  4. 5:55Is it even legal?
  5. 21:24Decipher basic HTML
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.