How do I (reliably) get the main image(s) used in the Wikipedia Infobox from the API?
This question has been asked before and the accepted answer admits that it is just a guess. Subsequent answers seem like a hack, at best and don't return the correct image.
For instance, the Jimi Hendrix Wikipedia entry uses "File:Jimi Hendrix 1967.png"
as the main image in the InfoBox.
The updated answers suggest using this url but for Jimi Hendrix (and other topics) it often returns the wrong image.
If I pull in all the images there is no way to determine which is the image used in the Infobox.