You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
page = wptools.page(title)
d = page.get_parse()
pprint(d.data['infobox'])
many fields include the Wikipedia macros used to generate those values. This can be useful, but it also means re-implementing the Wikipedia macros. Is there any way to have these resolved in the output?
Here is an example:
title = 'Scott Aitchison'
page = wptools.page(title)
d = page.get_parse()
pprint(d.data['infobox'])
When running
many fields include the Wikipedia macros used to generate those values. This can be useful, but it also means re-implementing the Wikipedia macros. Is there any way to have these resolved in the output?
Here is an example:
output:
So for example for the
birth_date
the return value is a macro that requires the user to parse it.The text was updated successfully, but these errors were encountered: