title: How to extract data from the infobox of a wikipedia page?
body: <p>My aim is to extract the 'Founded' and 'Products' information from the infobox of the wikipedia <a href="https://en.wikipedia.org/wiki/Microsoft" rel="nofollow noreferrer">page of Microsoft</a>. I am using python 3 and I used the following code that I found online but it is not working</p>
  
  <pre><code># importing modules 
  import requests 
  from lxml import etree 
  # manually storing desired URL 
  url='https://en.wikipedia.org/wiki/Microsoft'
  
  # fetching its url through requests module   
  req = requests.get(url)  
  
  store = etree.fromstring(req.text) 
  
  # trying to get the 'Founded' portion of above  
  # URL's info box of Wikipedia's page 
  output = store.xpath('//table[@class="infoboxvcard"]/tr[th/text()="Founded"]/td/i')  
  
  # printing the text portion 
  print output[0].text   
  
  #Expected result:
   Founded:April 4, 1975; 43 years ago in Albuquerque, New Mexico, U.S.
  </code></pre>