This project can be used to scrape major events(in terms of population) in Chicago from a variety of datasources. It can be extended to other cities/localities by changing the datasources used to scrape. Specifically, a website for scraping, an element along with an identifying id/class should be mentioned (EventScraper.py/web_elems), and finally the information required should be considered as well (how you define an event). In order to make this project generic, currently we are only looking at name, time, date, location, and description of events.
scraper = EventScraper("http://xyz.com")
event_list = sorted(scraper.scrape(), key = lambda x: x.date_time)#List of sorted events
Test will be here soon.