def links ( cls , page ) : for match in cls . HREF_RE . finditer ( page ) : yield cls . href_match_to_url ( match )
python iterate throgh links
return all links on a page including potentially rel = links .
def links(cls, page):
    """return all links on a page, including potentially rel= links."""
    for match in cls.HREF_RE.finditer(page):
      yield cls.href_match_to_url(match)