title: Parsing HTML to get text inside an element
body: <p>I need to get the text inside the two elements into a string:</p>
  
  <pre class="lang-py prettyprint-override"><code>source_code = """&lt;span class="UserName"&gt;&lt;a href="#"&gt;Martin Elias&lt;/a&gt;&lt;/span&gt;"""
  
  &gt;&gt;&gt; text
  'Martin Elias'
  </code></pre>
  
  <p>How could I achieve this?</p>