This has to do with the non-free nature of the images. The communities have decided they did not want non-free images to be used more than the bare minimum possible, so a non free image like a movie poster is not returned as a page image.
On Sun, Dec 10, 2017 at 4:23 AM, Gheorghe Postelnicu < [email protected]> wrote: > Hello, > > I am writing with a question regarding the OpenSearch API, which is super > useful for extracting summary information about a page. > > For a lot of pages, the return items contain: > - text > - url > - description > - image > > e.g. https://en.wikipedia.org/w/api.php?action=opensearch& > search=Angela%20Merkel&limit=10&format=xmlfm&suggest=false&profile=strict > > However, there are quite a few cases where the image property is missing, > although the page features an image in the infobox. Example: > https://en.wikipedia.org/w/api.php?action=opensearch&search=Solaris_( > 2002_film)&limit=10&format=xmlfm&suggest=false&profile=strict > > In cases where the opensearch extension doesn't return an image, is there > another API which allows extracting the infobox image if one is present? > > Many thanks in advance for the help, > Gheorghe > > > _______________________________________________ > Discovery mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/discovery > >
_______________________________________________ Discovery mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/discovery
