Mwclient: Get page content

From Glitchdata
Jump to navigation Jump to search


import mwclient
from pprint import pprint

site = mwclient.Site('wiki.glitchdata.com', path = '/', )
page = site.pages['mwclient']

pprint(page)