title: Get data automatically from anchor tag in Python
body: <p>I have a page with content like</p>
  
  <pre><code>&lt;div class="entry"&gt;
    &lt;p&gt;some content&gt;&lt;/p&gt;
     &lt;a href="www.somelink.com"&gt;more&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in the main web page. I want to extract and display the data on clicking the link. I am using beautifulsoup in python3.</p>