title: Python BeautifulSoup extracting text from result
body: <p>I am trying to get the text from contents but when i try beautiful soup functions on the result variable it results in errors.</p>
  
  <pre><code>from bs4 import BeautifulSoup as bs
  import requests
  
  webpage = 'http://www.dictionary.com/browse/coypu'
  r = requests.get(webpage)
  page_text = r.text
  
  soup = bs(page_text, 'html.parser')
  
  result = soup.find_all('meta', attrs={'name':'description'})  
  
  print (result.get['contents'])
  </code></pre>
  
  <p>I am trying to get the result to read;</p>
  
  <p>"Coypu definition, a large, South American, aquatic rodent, Myocastor (or Myopotamus) coypus, yielding the fur nutria. See more."</p>