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

Reply via email to