code: def extract_title(html):
      headers = html.select("h1,h2,h3,h4,h5")
      first_header = headers[0]
      return first_header.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 2 for calling a global function with example usage: extract_title(html) and returns: first_header