updated scraping function to incorporate more details about events