【问题标题】:How to get extracts for all returned pages by Wikipedia API?如何通过 Wikipedia API 获取所有返回页面的摘录?
【发布时间】:2016-06-11 22:36:58
【问题描述】:

我正在使用沙箱来了解如何使用 extracts 属性来检索标题为 Amsterdam 的所有页面(限制 10)中的第一句话,但正如您在沙箱中看到的那样,extracts 属性仅适用于第一个检索到的页面。

如何获取所有返回页面的摘录?

https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=json&prop=info|extracts&generator=search&exsentences=1&exintro=1&gsrsearch=Amsterdam&gsrnamespace=0&gsrlimit=10

【问题讨论】:

    标签: wikipedia-api


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-15
    • 1970-01-01
    • 2015-06-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多