有没有比使用 continue 更快的获取维基百科 API 信息的方法?

Is there a faster way to get Wikipedia API information than using continue?

我正在请求 50 篇文章的浏览量,如果 Wiki API returns 一个 'continue' json 对象,我正在使用循环重新发送请求.有什么方法可以加快速度,或者有更快的方法来获取 50 篇文章的浏览量吗?

Here's an example call

这是我的代码,它会循环直到 continue 对象消失

while 'continue' in json_object:
            json_object = _request_json(api) 

如果有帮助,这里是项目存储库: https://github.com/averagephotographer/wiki-solver

您可以下载 pageview data dump.