Extract links from a tag with href attribute