title: Get contents by class names using Beautiful Soup
body: <p>Using Beautiful Soup module, how can I get data of a <code>div</code> tag whose class name is <code>feeditemcontent cxfeeditemcontent</code>? Is it:</p>
  
  <pre><code>soup.class['feeditemcontent cxfeeditemcontent']
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>soup.find_all('class')
  </code></pre>
  
  <p>This is the HTML source:</p>
  
  <pre><code>&lt;div class="feeditemcontent cxfeeditemcontent"&gt;
      &lt;div class="feeditembodyandfooter"&gt;
           &lt;div class="feeditembody"&gt;
           &lt;span&gt;The actual data is some where here&lt;/span&gt;
           &lt;/div&gt;
       &lt;/div&gt;
   &lt;/div&gt; 
  </code></pre>
  
  <p>and this is the Python code:</p>
  
  <pre><code> from BeautifulSoup import BeautifulSoup
   html_doc = open('home.jsp.html', 'r')
  
   soup = BeautifulSoup(html_doc)
   class="feeditemcontent cxfeeditemcontent"
  </code></pre>