wptools
wptools copied to clipboard
Getting Template:Infobox nutritional value
Greetings developers and contributors.
I'm trying to retrieve Nutritional value infobox from the pages were it's present, It belongs to the Template:Infobox nutritional value.
e.g. https://en.wikipedia.org/wiki/Fenugreek#Nutritional_profile
But the infobox dict has just the first infobox and the items within it,
>>> page = wptools.page('Fenugreek')
>>> page.get_parse()
en.wikipedia.org (parse) Fenugreek
en.wikipedia.org (imageinfo) File:Illustration Trigonella foenum-...
Fenugreek (en) data
{
image: <list(1)> {'kind': 'parse-image', 'file': 'File:Illustrat...
infobox: <dict(4)> name, image, taxon, authority
iwlinks: <list(3)> https://en.wiktionary.org/wiki/Special:Search...
pageid: 289834
parsetree: <str(24422)> <root><template><title>Short description...
requests: <list(2)> parse, imageinfo
title: Fenugreek
wikibase: Q133205
wikidata_url: https://www.wikidata.org/wiki/Q133205
wikitext: <str(17911)> {{Short description|Species of flowering ...
}