Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikipedia Parser wikiparser logo

Simple and best tool to parse wikipedia

https://travis-ci.org/KiranNiranjan/wiki-parser-py.svg?branch=master

Installing

pip install wikiparser

Getting Started

These 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.

Dependency

  • Python 3
  • wikiparser

Import

from wikiparser import *

Importing specific methods

from wikiparser import infoBox, getMainImage, getParagraph

Methods

  • infoBox()

    ''' To get info_box table from wikipedia as json '''
    infoBox = infoBox("https://en.wikipedia.org/wiki/Methane")

Running the tests

Explain how to run the automated tests for this system

python tests/test.py

Authors

KiKe

Javasctipt (npm)

wikiparser KiKe

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A tool to parse wikipedia content

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages