Converts html to csv.