Change the scraper so it returns a promise