changed the method to scrape data from regex to nokgiri gem