Simple and best tool to parse wikipedia
pip install wikiparserThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Python 3
- wikiparser
from wikiparser import *from wikiparser import infoBox, getMainImage, getParagraphinfoBox()
''' To get info_box table from wikipedia as json ''' infoBox = infoBox("https://en.wikipedia.org/wiki/Methane")
Explain how to run the automated tests for this system
python tests/test.pyThis project is licensed under the MIT License - see the LICENSE.md file for details
