Quoting Bartosz Dziewo?ski <matma.rex(a)gmail.com>om>:
On Fri, 15 Nov 2013 09:37:49 +0100, Thomas
<thomas(a)thomaszander.se> wrote:
I use the API to fetch some metadata;
en.wikipedia.org/w/api.php?action=query&prop=imageinfo \
&iilimit=1&format=xml&iiprop=dimensions%7Cmime&titles=[foo]
The piece of the puzzle I am still missing is how to find out the
actual download URL for any given image.
Just add "url" to "iiprop" and the API will return the full URL.
Oh, cool. I wonder why I missed that :)
Seems to work great, thanks!
--
Thomas Zander