title: BeautifulSoup & Craiglist - Trouble getting data with identical attributes and structure
body: <p>I am having trouble scraping the HTML below as all the info is stored in a structure that doesn't have very much distinction.</p>
  
  <p>I want to get a place that retrieves the b tag contained within the span tag that has text = 'VIN:  ', and the b tag contained within the span tag that has text = 'odometer:  ', etc..</p>
  
  <pre><code>&lt;/p&gt;
  &lt;/div&gt;
  &lt;p class="attrgroup"&gt;
  &lt;span&gt;&lt;b&gt;2001 PORSCHE 911&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;/p&gt;
  &lt;p class="attrgroup"&gt;
  &lt;span&gt;VIN: &lt;b&gt;WP0CA29961S653221&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;span&gt;fuel: &lt;b&gt;gas&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;span&gt;odometer: &lt;b&gt;46000&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;span&gt;paint color: &lt;b&gt;silver&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;span&gt;size: &lt;b&gt;sub-compact&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;span&gt;title status: &lt;b&gt;clean&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;span&gt;transmission: &lt;b&gt;manual&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;span&gt;type: &lt;b&gt;convertible&lt;/b&gt;&lt;/span&gt;
  &lt;br/&gt;
  &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have tried the following variations with no avail:</p>
  
  <pre><code>all = soup.find_all('section',{'class':'body'})
  for i in all:
      print(i.find_all('span'))
  </code></pre>
  
  <p>&amp;</p>
  
  <pre><code>all = soup.find_all('section',{'class':'body'})
  for i in all:
       print(i.find_all('b'))
  </code></pre>
  
  <p>&amp;</p>
  
  <pre><code>all = soup.find_all('section',{'class':'body'})
  for i in all:
      print(i.find_all('p',{'class':'attrgroup'}))
  </code></pre>
  
  <p>The fields are dynamic, so the structure can change.  For example, another listing may not have the odometer information, or the fuel option, so breaking this into a list and getting specific information by index will not be consistent.</p>
  
  <p>How do I successfully do this?</p>