title: beautiful soup get value inside a tag / class
body: <p>Referred to <a href="https://stackoverflow.com/questions/22003302/beautiful-soup-just-get-the-value-inside-the-tag/44065476#44065476">beautiful soup just get the value inside the tag</a>, I've tried to transfer this code to my HTML tag (see below) but unfortunately, I couldn´t find a solution yet. This is my HTML example:</p>
  
  <pre><code>&lt;div id="city" class="temperature"&gt;29&lt;/div&gt;
  </code></pre>
  
  <p>I want to scrape the temperature value (= 29). Any hints?</p>
  
  <p>Thank you!</p>