parse the response HTML