goldsmith / Wikipedia

A Pythonic wrapper for the Wikipedia API
https://wikipedia.readthedocs.org/
MIT License
2.89k stars 520 forks source link

Is there a way to extract the information from the infobox of any article? #178

Open J0ANMM opened 6 years ago

J0ANMM commented 6 years ago

Is there a way to extract easily the information from an infobox, other than using .html() and BeautifulSoup?

For instance, in the article about the city of Barcelona, extracting the mayor name from the infobox located at the top right.

Havaldar commented 3 years ago

Had a use for this and was wondering if this is possible?