title: Python Beautiful Soup: get text from element
body: <p>I am looping through elements of type <code>&lt;td&gt;</code> but am struggling to extract the <code>&lt;td&gt;</code> text.</p>
  
  <p>HTML: </p>
  
  <pre><code>&lt;td class="cell"&gt;
   Brand Name 1
   &lt;br/&gt;
   (
   &lt;a class="tip" title="This title"&gt;
    Authorised Resellers
   &lt;/a&gt;
   )
  &lt;/td&gt;
  </code></pre>
  
  <p>: Desired output: </p>
  
  <pre><code>Brand name: Brand name 1
  Brand distribution type: Authorised Reseller
  </code></pre>
  
  <p>I have tried:</p>
  
  <pre><code>for brand in brand_loop:
    print(brand.text)
  </code></pre>
  
  <p>But this does not print the text following the opening <code>&lt;td&gt;</code> tag ("Brand Name 1").</p>
  
  <p>Any suggestions? Thanks!</p>