making the scraper method return the data