Solution to web scraper