Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 293 Bytes

readme.md

File metadata and controls

15 lines (9 loc) · 293 Bytes

WikiToJson

Convert a english wikipedia page to text, replicating the section hierarchy in json attributes.

Instalation

pip install wikitojson

Basic Usage

import wikitojson
data = wikitojson.get("Computer")

import json
print(json.dumps(data, indent = 4))