title: Avoid links navigating to same page
body: <p>I am using jsoup to do recursive crawl a web page.I have links like this </p>
  
  <pre><code>&lt;a href ="#"&gt;hash&lt;/&gt;
  &lt;a href ="#top"&gt;hashtop&lt;/&gt;
  &lt;a href ="http://www.google.com"&gt;google&lt;/&gt;
  </code></pre>
  
  <p>I don't have a problem with links like the third one. When u see first and second which will have the navigation within in the same page.When I do document. get to anchor tags I am getting same parent URL for # and parenturl#top for the second one.I don't want those kinds of links to fetch. Can some let me know how to avoid fetching those kinds of links in jsoup</p>