# Getting Wikipedia Page Content

**URL:** <https://forum.freecodecamp.org/t/getting-wikipedia-page-content/284471>\
**Category:** General\
**Created:** [June 17, 2019, 5:21am UTC](https://forum.freecodecamp.org/t/getting-wikipedia-page-content/284471 "2019-06-17T05:21:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shvivek](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@shvivek](https://forum.freecodecamp.org/u/shvivek)\
**Post date:** [June 17, 2019, 5:21am UTC](https://forum.freecodecamp.org/t/getting-wikipedia-page-content/284471/1 "2019-06-17T05:21:55Z")

</div>

Hi,

I am exploring the Wikimedia API for a project. I am able to fetch the content of the page using the ‘extracts’ property in the ‘query’ module of the Wikimedia API.

However, I was wondering if there a way to get the content of the TABLES present in a Wikipedia page. Of course, I could not find a direct property that does that but does anyone know of the combination of certain properties that can do the trick for me?

For Example - On the Game of Thrones Page if I want to capture info in the below tables,

 ![GOTCapture](https://global.discourse-cdn.com/freecodecamp/original/3X/3/b/3b139e037c676a3081cb979d38db0f7e493d8d4d.png)

Please point me in the right direction about this.

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [June 17, 2019, 8:25am UTC](https://forum.freecodecamp.org/t/getting-wikipedia-page-content/284471/2 "2019-06-17T08:25:45Z")

</div>

It does not seem like the API lets you easily get to that part of the page data.  
[https://www.quora.com/Does-the-Wikipedia-API-give-structured-information-on-the-infobox](https://www.quora.com/Does-the-Wikipedia-API-give-structured-information-on-the-infobox)

> <https://stackoverflow.com/questions/33862336/how-to-extract-information-from-a-wikipedia-infobox>

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 9:48am UTC](https://forum.freecodecamp.org/t/getting-wikipedia-page-content/284471/3 "2021-01-17T09:48:19Z")

</div>

Closed on January 17, 2021, 9:48am UTC


