如何获取多语言的维基百科页面?

发布于 2024-10-07 15:39:46 字数 329 浏览 0 评论 0原文

我如何获得另一种语言的相同维基百科页面。

例如我想获得日语页面, http://en.wikipedia.org/wiki/Cloud

结果是

http://ja.wikipedia.org/wiki/云 或仅标题云

是否可以使用维基百科 API 或任何其他 API 来执行此操作?

谢谢

How can I get the same wikipedia page in another language.

For example I want to get this page in Japanese,
http://en.wikipedia.org/wiki/Cloud

result is

http://ja.wikipedia.org/wiki/雲
or only the title 雲

Is it possible to use wikipedia API or any other APIs to do this?

Thank You

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时间海 2024-10-14 15:39:46

MediaWiki API 的 Lang links 属性可能就是您想要的。为您的云示例获取其他语言将类似于 这个

Lang links property of MediaWiki API is probably what you want. Fetching other languages for your cloud example would look like this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文