title: 'NoneType' object has no attribute 'text'
body: <p>How should I extract "£70,004" text in dd, omitting "Investment sought" text which in dt.</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import urllib2
  
  url="https://www.seedrs.com/tanorganic"
  page = urllib2.urlopen(url)
  soup = BeautifulSoup(page.read(), "html.parser")
  
  target = soup.find("dl", class_="investment_sought").text
  
  print target
  
  figure = soup.find("dd", class_="investment_sought").text
  
  print figure
  </code></pre>
  
  <p>result :</p>
  
  <pre><code>Investment
  
  sought:
  
  £70,004
  
  Traceback (most recent call last):
    File "testing.py", line 12, in &lt;module&gt;
      figure = soup.find("dd", class_="investment_sought").text
  AttributeError: 'NoneType' object has no attribute 'text'
  </code></pre>