title: How to get summary for first searches link for wikipedia api?
body: <p>I searched &quot;python&quot; on wikipedia api but it's getting too many links for that keyword.</p>
  <p>Code I used:</p>
  <pre><code>import wikipedia
  
  result = wikipedia.summary(&quot;python&quot;, sentences=3)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/DWgan.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DWgan.png" alt="enter image description here" /></a></p>
  <p>That is getting too many results but I want summary for first sub result.</p>
  <p>How can I achieve that?</p>