Improving parsing of html results