goldsmith / Wikipedia

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

images from article not in order #330

Open VinzenzStauner opened 10 months ago

VinzenzStauner commented 10 months ago

Hi everybody,

I noticed that the images retrieved by the image command are not in the order as you would see them on the wikipedia article website. Is there any function how I can get the first image that also appears on the website?

E.g. print(wikipedia.page("Ubuntu (Betriebssystem").images[0])

gives this image back although it should be this one

Thank you in advance!