Refactor get_html() #18