title: Extracting data from tbody with BeautifulSoup
body: <p>I am trying to extract some data from this HTML using BeautifulSoup. I only want to return <code>data-buyout="1 alchemy" data-ign="DanForeverr" data-league="Standard" data-name="Sulphur Wastes Map" data-seller="NoCocent" data-sellerid="None" data-tab="~price 1 alch" data-x="6" data-y="7"</code>*`, but I am not getting any results. I am using the code below. Any help would be appreciated.</p>
  
  <pre><code>parsed = soup.find_all('tbody', class=re.compile('^data-'))
  </code></pre>
  
  <pre class="lang-html prettyprint-override"><code>&lt;tbody class="item item-live-c324ceb98e25716a0fad0727e0cd64e3" data-buyout="1 alchemy" data-ign="DanForeverr" data-league="Standard" data-name="Sulphur Wastes Map" data-seller="NoCocent" data-sellerid="None" data-tab="~price 1 alch" data-x="6" data-y="7" id="item-container-0"&gt;
   &lt;tr class="first-line"&gt;
    &lt;td class="icon-td"&gt;
     &lt;div class="icon"&gt;
      &lt;img alt="Item icon" src="https://web.poecdn.com/image/Art/2DItems/Maps/AtlasMaps/SulphurWastes3.png?scale=1&amp;amp;w=1&amp;amp;h=1&amp;amp;v=48802019c4a2e88af038d75ec1e4b31e3"/&gt;
      \n
      &lt;div class="sockets" style="position: absolute;"&gt;
       \n
       &lt;div class="sockets-inner" style="position: relative; width:94px;"&gt;
        \n
       &lt;/div&gt;
       \n
      &lt;/div&gt;
     &lt;/div&gt;
    &lt;/td&gt;
    &lt;td class="item-cell"&gt;
     &lt;h5&gt;
      &lt;a class="title itemframe0" href="#" onclick="return false;" target="_blank"&gt;
       Sulphur Wastes Map
      &lt;/a&gt;
      &lt;span class="found-time-ago"&gt;
       2 months ago
      &lt;/span&gt;
     &lt;/h5&gt;
     &lt;ul class="requirements proplist"&gt;
      &lt;li&gt;
       &lt;span class="sortable" data-name="ilvl"&gt;
        ilvl: 80
       &lt;/span&gt;
      &lt;/li&gt;
     &lt;/ul&gt;
     &lt;span class="sockets-raw" style="display:none"&gt;
     &lt;/span&gt;
     &lt;ul class="item-mods"&gt;
     &lt;/ul&gt;
    &lt;/td&gt;
    &lt;td class="table-stats"&gt;
     &lt;table&gt;
      &lt;tr class="calibrate"&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
       &lt;th&gt;
       &lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr class="cell-first"&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Quality
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Phys.
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Elem.
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        APS
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        DPS
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        pDPS
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        eDPS
       &lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr class="cell-first"&gt;
       &lt;td class="sortable property " colspan="2" data-name="q" data-value="0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="pd" data-value="0.0"&gt;
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-ed="" data-name="ed" data-value="0.0"&gt;
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="aps" data-value="0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="dps" data-value="0.0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="pdps" data-value="0.0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="edps" data-value="0.0"&gt;
        \xa0
       &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="cell-second"&gt;
       &lt;th class="cell-empty"&gt;
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Armour
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Evasion
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Shield
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Block
       &lt;/th&gt;
       &lt;th class="disabled" colspan="2"&gt;
        Crit.
       &lt;/th&gt;
       &lt;th colspan="2"&gt;
        Tier
       &lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr class="cell-second"&gt;
       &lt;td class="cell-empty"&gt;
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="armour" data-value="0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="evasion" data-value="0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="shield" data-value="0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="block" data-value="0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="crit" data-value="0"&gt;
        \xa0
       &lt;/td&gt;
       &lt;td class="sortable property " colspan="2" data-name="level" data-value="13"&gt;
        13
       &lt;/td&gt;
      &lt;/tr&gt;
     &lt;/table&gt;
  </code></pre>