title: Can't figure out how to scrape data in body tag using beautiful soup (Python)
body: <pre><code>from bs4 import BeautifulSoup
  import urllib
  from openpyxl import Workbook
  from openpyxl.compat import range
  from openpyxl.cell import get_column_letter
  
  r = urllib.urlopen('https://www.vrbo.com/576329').read()
  soup = BeautifulSoup(r)
  rate = soup.find_all('body')
  
  print rate
  print type(soup)
  </code></pre>
  
  <p>I'm trying to capture values in containers such as data-bedrooms="3", specifically the values given in the quotations, but I have no idea what they are formally called or how to parse them. </p>
  
  <p>The below is a sample of part of the print out for the "body" so I know the values are there, the capturing the specific part is what I can't get:</p>
  
  <p>data-ratemaximum="$260" data-rateminimum="$220" data-rateunits="night" data-rawlistingnumber="576329" data-requestuuid="73bcfaa3-9637-40a8-801c-ae86f93caf39" data-searchpdptab="C" data-serverday="18" data-showbookingphone="False"</p>