code: def extract_links(self, html):
      for anchor in html.findAll("a"):
          uri = urlparse(anchor["href"])
  
          if uri.netloc in ("neupy.com", ""):
              url = urljoin(self.url, uri.path)
              if uri.fragment:
                  url = url + "#" + uri.fragment
  
              yield Link(uri=url, text=anchor.text)
  
file_path: neupy/site/search-index/htmltools.py
imports: import os
  from collections import namedtuple
  from bs4 import BeautifulSoup
  from six.moves.urllib.parse import urljoin, urlparse
  from webgraph import Link
label_desc: Use image node_id 4 for calling the ParseHTML obj's underlying member method code with example usage: obj.extract_links(html) without return types