Split main to support future scrapers.