Fixed the multiple <a> edge case
Shortened up the description of the extract_name function