Wikipedia API从列表中的每个页面中获取图像和信息

发布于 2025-01-31 22:04:46 字数 574 浏览 3 评论 0 原文

我一直在尝试从此列表中获取所有数据 https://en.wikipedia.orgg/ Wiki/类别:Fungi_of_canada 。这样它将从每种蘑菇中获取图像和信息作为JSON。但是,如果我查看了JSON,那真的很混乱 https://en.wikipedia.org/w/api.php?action = query& titles = amanita_frostiana&pprop = revisionS&pprop = revisionS& amp; amp;是否有一种更简单的方法来获取数据?

i have been trying to get all the data from this list https://en.wikipedia.org/wiki/Category:Fungi_of_Canada . So that it would get the image and info from every mushroom as a JSON. But if i view the JSON it's really messy https://en.wikipedia.org/w/api.php?action=query&titles=Amanita_frostiana&prop=revisions&rvprop=content&format=json . Is there a easier way to fetch the data?

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

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

发布评论

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

评论(1

七七 2025-02-07 22:04:46

使用prop =图像:

您所说的“信息”是什么意思?

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