title: Get the category of wikipedia article in python
body: <p>I am using the below mentioned code to check the existence of wikipedia page.</p>
  
  <pre><code>term = "forensics"
  a = urllib.request.urlopen("https://en.wikipedia.org/wiki/"+term).getcode()
  print(a) 
  </code></pre>
  
  <p>If the page exists (i.e. <strong>a == 200</strong>), I want to get the category of the page (i.e., if the category is computer science, engineering etc.). Can we do that in wikipedia api?</p>