title: Extracting data from a wikipedia page
body: <p>This question might be really specific. I am trying to extract the number of employees from the Wikipedia pages of companies such as <a href="https://en.wikipedia.org/wiki/3M" rel="nofollow">https://en.wikipedia.org/wiki/3M</a>. </p>
  
  <p>I tried using the Wikipedia python API and some regex queries. However, I couldn't find anything solid that I could generalize for any company (not considering exceptions). </p>
  
  <p>Also, because the table row does not have an id or a class I cannot directly access the value. Following is the source:</p>
  
  <pre><code>&lt;tr&gt;
  &lt;th scope="row" style="padding-right:0.5em;"&gt;
  &lt;div style="padding:0.1em 0;line-height:1.2em;"&gt;Number of employees&lt;/div&gt;
  &lt;/th&gt;
  &lt;td style="line-height:1.35em;"&gt;89,800 (2015)&lt;sup id="cite_ref-FY_1-5" class="reference"&gt;&lt;a href="#cite_note-FY-1"&gt;[1]&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>So, even though I have the id of the table - <code>infobox vcard</code> so I couldn't figure out a way to scrape this information using <code>beautifulSoup</code>.</p>
  
  <p>Is there a way to extract this information? It is present in the summary table on the right at the beginning of the page.</p>