parser to convert html to csv