parameters: (soup, tagId, value=None)
return_statement: return value
docstring: returns full contents of a particular tag id
docstring_summary: returns full contents of a particular tag id
docstring_tokens: returns full contents of a particular tag id
function: def extractById(soup, tagId, value=None):
      """
      returns full contents of a particular tag id
      """
      beautifulTag = soup.find(id=tagId)
      if beautifulTag:
          if beautifulTag.contents:
              value = str(beautifulTag.renderContents()).strip()
              value = value.replace('\t','')
              value = value.replace('\n','')
      return value
function_tokens: def extractById ( soup , tagId , value = None ) : beautifulTag = soup . find ( id = tagId ) if beautifulTag : if beautifulTag . contents : value = str ( beautifulTag . renderContents ( ) ) . strip ( ) value = value . replace ( '\t' , '' ) value = value . replace ( '\n' , '' ) return value