original_docstring: Buscar el text dins del codi html.
docstring: Buscar el text dins del codi html.
docstring_tokens: Buscar el text dins del codi html .
code: def search_text(self, html):
          """Buscar el text dins del codi html."""
          soup = bs(html, 'html.parser')
          elements = soup.find_all("div", "dotd-title")
          titles = []
          for element in elements:
              title = element.text
              # Com que el text extret de la paguina web conte salts de linea i
              # espais cal eliminarlos
              title = title.replace('\n', '').replace('\t', '')
              titles.append(title)
          return titles
code_tokens: def search_text ( self , html ) : soup = bs ( html , 'html.parser' ) elements = soup . find_all ( "div" , "dotd-title" ) titles = [ ] for element in elements : title = element . text title = title . replace ( '\n' , '' ) . replace ( '\t' , '' ) titles . append ( title ) return titles
short_docstring: Buscar el text dins del codi html.
short_docstring_tokens: Buscar el text dins del codi html .
comment: """Buscar el text dins del codi html."""$SEP$# Com que el text extret de la paguina web conte salts de linea i$SEP$# espais cal eliminarlos