title: how to retrieve text from anchor href attribute in python
body: <p>Let's say I have a link like this:</p>
  
  <pre><code>link = '&lt;a href="some text"&gt;...&lt;/a&gt;'
  </code></pre>
  
  <p>Is there any way I can retrieve the text from anchor href attribute so the result will be something like this:</p>
  
  <pre><code>hrefText = 'some text'
  </code></pre>
  
  <p>And thank you in advance</p>