diff --git a/core/src/main/scala/org/dbpedia/extraction/util/WikiApi.scala b/core/src/main/scala/org/dbpedia/extraction/util/WikiApi.scala index 01c1d59fea..e3aac926ca 100644 --- a/core/src/main/scala/org/dbpedia/extraction/util/WikiApi.scala +++ b/core/src/main/scala/org/dbpedia/extraction/util/WikiApi.scala @@ -62,7 +62,7 @@ class WikiApi(url: URL, language: Language) retrievePagesByPageID(pageIds).foreach(f) //Retrieve remaining pages - for(continuePage <- response \ "query-continue" \ "allpages" \ "@apcontinue" headOption) + for(continuePage <- response \ "continue" \ "@apcontinue" headOption) { // TODO: use iteration instead of recursion retrievePagesByNamespace(namespace, f, continuePage.text)