~/panel

improv BOF How to Scrape Data from any Website

Panelat PyData San Francisco 2016 · 2016-08-12..08-14· [python, web-platform]
name:none on file
slides:none on file

Concrete howtos and tradeoffs: a live curl + grep demo shows pulling meetup member lists, then HTML parsing with BeautifulSoup for quick one-offs, moving to Scrapy but hitting limits for async, proxy swapping and scaling, and using Selenium/Phantom (Chrome drivers) when sites render via JavaScript. Notes include scraping JSON APIs (CNN example), dedupe problems with Optimizely/NYTimes, cookie/session handling, and examples that sometimes work but often blow up at production scale.

AI-written summary · about

  1. 0:00Web scraping challenges
  2. 1:49From curl to BeautifulSoup
  3. 2:11Scrapy strengths and limits
  4. 3:30Async scraping with Scrapy
  5. 5:23Crawler for model-based URLs
  6. 7:15Real scraping problems
  7. 8:49API scraping vs browser automation
  8. 10:18Making data accessible
  9. 11:22ML for data extraction
  10. 12:46Library usage poll
  11. 13:16Selenium for dynamic sites
  12. 14:41Hidden data behind UI
  13. 15:47Callbacks and session cookies
  14. 17:17Layout changes handling
  15. 18:20Duplicate content issues
  16. 19:05Scraping data from web sockets and APIs
  17. 20:38Quick scraping with browser tools
  18. 21:32Open-source scraping tools
  19. 22:16Google Sheets workaround
  20. 23:23Q&A
~/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.