Make code more idiomatic; add ability to scrape paginated results.