title: Finding a variable values inside a div class with Beautiful soup
body: <p>I'm trying to find longitudes and latitudes in this <code>html</code> code:</p>
  
  <pre><code>&lt;div class="map-outer-wrap"&gt;
      &lt;div class="map-wrap" data-zoom="15" style="height:500px;" data-latitude="37.4418834" data-longitude="-122.14301949999998" data-style="color"&gt;
          &lt;div data-latitude="37.4418834" data-longitude="-122.14301949999998"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;a href="https://www.google.com/maps/?q=37.4418834,-122.14301949999998&amp;z=10" rel="no-follow" class="overlay-link" target="_blank"&gt;View on Google Map&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>(The full page is here: <a href="https://www.towncity.com/property/whole-hotel-for-sale-in-riverside-area/" rel="nofollow noreferrer">https://www.towncity.com/property/whole-hotel-for-sale-in-riverside-area/</a>)</p>
  
  <p>Not exactly knowing where to start to actually get to <code>data-latitude</code> and <code>data-longitude</code>, I tried to narrow down my search to get to the closest div (<code>map-wrap</code>), but even this returns an empty list.</p>
  
  <pre><code>parser = LinkParser()
  data, links = parser.getLinks("https://www.towncity.com/property/whole-hotel-for-sale-in-riverside-area/)
  lnglat = BeautifulSoup(data, "lxml").findAll("div", {"class": "map-wrap"}).text
  </code></pre>
  
  <p>What's the proper way to retrieve the values of <code>data-latitude</code> and <code>data-longitude</code> in this page?</p>