title: typeerror while extracting text from beautiful soup object
body: <p>I have a bs4 element called <code>lines</code> with span class. I am trying to take the text but i encounter a typeerror as below</p>
  <p>lines consists:</p>
  <pre><code>[&lt;span class=&quot;lt-line-clamp__line&quot;&gt;I'm excited to be entering a new phase of my career at Xyz!&lt;/span&gt;,
   &lt;span class=&quot;lt-line-clamp__line&quot;&gt;&lt;/span&gt;,
   &lt;span class=&quot;lt-line-clamp__line lt-line-clamp__line--last&quot;&gt;
         I'm a program manager, product development leader, and business strategist who is passionate about delive&lt;span class=&quot;lt-line-clamp__ellipsis&quot;&gt;...
               &lt;a aria-expanded=&quot;false&quot; class=&quot;lt-line-clamp__more&quot; data-test-line-clamp-show-more-button=&quot;true&quot; href=&quot;#&quot; id=&quot;line-clamp-show-more-button&quot; role=&quot;button&quot;&gt;see more&lt;/a&gt;
   &lt;/span&gt;&lt;/span&gt;]
  </code></pre>
  <p>Code:</p>
  <pre><code>lines = about.select('span.lt-line-clamp__line')  # this lines consists of above input
  about = ''.join([line.find(text=True, recursive=False) for line in lines])
  </code></pre>
  <p>Error:</p>
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-104-45a217b0c18f&gt; in &lt;module&gt;
        1 lines = about.select('span.lt-line-clamp__line')
  ----&gt; 2 about = ''.join([line.find(text=True, recursive=False) for line in lines])
  
  TypeError: sequence item 1: expected str instance, NoneType found
  
   
  </code></pre>