code: def __parse_link_info(self, link):
          
          href = link.get("href", "")
          txt = link.string or href
          is_rel = is_relative_url(href)
          if is_rel is True:
              tmp = "{0}{1}".format(self.mediawiki.base_url, href)
          elif is_rel is None:
              tmp = "{0}{1}".format(self.url, href)
          else:
              tmp = href
          return txt, tmp
docs: parse the <a> tag for the link