维基百科API搜索无内容 [英] no content from Wikipedia API search

查看:98
本文介绍了维基百科API搜索无内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好

我正在使用以下API搜索,该搜索用于返回Wikipedia条目的标题,内容和链接:

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"]]

您能给我任何见解吗?

推荐答案

似乎OpenSearch API本身存在问题: https://lists.wikimedia.org/pipermail/mediawiki- api/2019-December/004188.html

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

这篇关于维基百科API搜索无内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆