We call this function multiple times with the same content, couldn't we move that into a method and store the result in a attribute on the document? E.g. `doc = get_parsed_content(html)` and that `get_parsed_content` method doing a self._parsed_content = ..` if it's not set and return it otherwise?