Here are some tips not mentioned: 1. /robots.txt can sometimes have useful info for scraping a website. It will often include links to sitemaps that let you enumerate all pages on a site. This is a useful library for fetching/parsing a sitemap ( https://github.com/mediacloud/ultimate-sitemap-parser ) 2. Instead of parsing HTML tags, sometimes you can extract the data you need through structured metadata. This is a us…
APIs (for SPAs), OpenGraph/LD+JSON data in , and data- attributes with proper data in them (e.g. a timestamp vs "just now" in the text for the human).
Scraping is a lot easier than it used to be.