title: Python, Beautiful Soup, WebScraping, Pandas, Dataframe
body: <p><a href="https://stackoverflow.com/questions/706443/complex-beautiful-soup-query">Complex Beautiful Soup query</a></p>
  
  <p>I am becoming acquainted with Beautiful Soup and with Pandas' Dataframe, but I can't seem to combine the two. </p>
  
  <pre><code>import urllib.request
  from bs4 import BeautifulSoup
  import pandas as pd
  
  
  connection = urllib.request.urlopen('http://www.carfolio.com/specifications/models/?man=557')
  soup = BeautifulSoup(connection, "html.parser", from_encoding='utf-7')
  
  soup.decode('utf-7','ignore')
  
  href_tag = soup.find_all(span="detail")
  for href_tag in soup.body.stripped_strings:
      print(str(href_tag.encode('utf-7')))
  </code></pre>
  
  <p>Ultimately, my goal is to grab each car and create a data frame with the relevant information ("details"), such as horsepower, torque, weight, etc. I just don't have an idea of how to "grab" the details.  <a href="https://i.stack.imgur.com/Bn3ck.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bn3ck.jpg" alt="Relevant HTML Code"></a></p>
  
  <p>I have looked around, and there are examples, but most of them are not accessing the "abbr title" Thanks</p>