Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Template:Infobox nutritional value #172

Open
abishekmuthian opened this issue May 24, 2022 · 0 comments
Open

Getting Template:Infobox nutritional value #172

abishekmuthian opened this issue May 24, 2022 · 0 comments
Assignees

Comments

@abishekmuthian
Copy link

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

@siznax siznax self-assigned this May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants