Sustainable scrapers
summary
NPR builds a scraper that actually produces structured data about gun sale listings on Armslist.com and shows the engineering tradeoffs: Python parsing with BeautifulSoup, parallel workers driven by GNU parallel, and an EC2 C3.8xlarge instance that harvests roughly 880,000 URLs in about 16 minutes for around $0.50. The project documents URL patterns, handles odd DOM edge cases, skips tests under deadline, wrestles with terms of service and ethics, and uses throttling and headers so the scraper works without taking the site down.
AI-written summary · about
chapters (11)
- 0:00Sustainable scrapers intro
- 2:09Not about guns or Armslist
- 9:51When to use a scraper
- 13:42Ethics and legality for scrapers
- 21:08Beyond data collection
- 29:39Scraper architecture
- 41:43Model to script
- 44:12Parallelization with GNU Parallel
- 47:05Cloud for scraping
- 50:15Responsible scraping
- 52:20Publishing results
related talks
01h 01mWebcrawler
16mLive-Coding: Mastering Anti-Ban & Web Scraping with Scrapoxy
30mBeautiful Python Refactoring
26mScraping Lyrics with Celery
33mAutomating Ad commits
31mThe Fast and the Curious: Harnessing AI in Financial Data Extraction at Scale
06mAdvanced static site generation
16mToo Much News, Not Enough Time? Generate Your Own Watchlist Podcasts!
