Wikipedia icon indicating copy to clipboard operation
Wikipedia copied to clipboard

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

Open J0ANMM opened this issue 7 years ago • 1 comments

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.

J0ANMM avatar Jul 18 '18 13:07 J0ANMM

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

Havaldar avatar Feb 23 '21 21:02 Havaldar