Rewrite scraper to be less horrible.