no content from Wikipedia API search

家住魔仙堡 提交于 2020-01-05 03:49:27

问题


Good morning

I am using the following API search, which used to return title, content and link of a Wikipedia entry:

https://it.wikipedia.org/w/api.php?action=opensearch&search=alessandro%20leogrande&format=json&utf8=1

Just recently I noticed that it is always returning an empty content part ([""]):

["alessandro leogrande",["Alessandro Leogrande"],[""],["https://it.wikipedia.org/wiki/Alessandro_Leogrande"]]

Can you please give me any insight?


回答1:


It seems there is a problem with the OpenSearch API itself: https://lists.wikimedia.org/pipermail/mediawiki-api/2019-December/004188.html



来源:https://stackoverflow.com/questions/59518708/no-content-from-wikipedia-api-search

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!