Use one function to parse the html data.