Parsing functions for results HTML